Skip to content

Instantly share code, notes, and snippets.

@zinnschlag
Created October 23, 2014 07:17
Show Gist options
  • Save zinnschlag/63e257b26e8cce319631 to your computer and use it in GitHub Desktop.
Save zinnschlag/63e257b26e8cce319631 to your computer and use it in GitHub Desktop.
/home/marc/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/audiodecoder.cpp: In destructor ‘virtual Video::MovieAudioDecoder::~MovieAudioDecoder()’:
/home/marc/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/audiodecoder.cpp:69:19: error: cannot convert ‘SwrContext**’ to ‘AVAudioResampleContext**’ for argument ‘1’ to ‘void swr_free(AVAudioResampleContext**)’
/home/marc/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/audiodecoder.cpp: In member function ‘void Video::MovieAudioDecoder::setupFormat()’:
/home/marc/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/audiodecoder.cpp:115:31: error: cannot convert ‘SwrContext*’ to ‘AVAudioResampleContext*’ for argument ‘1’ to ‘AVAudioResampleContext* swr_alloc_set_opts(AVAudioResampleContext*, int64_t, AVSampleFormat, int, int64_t, AVSampleFormat, int, int, void*)’
/home/marc/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/audiodecoder.cpp:118:25: error: cannot convert ‘SwrContext*’ to ‘AVAudioResampleContext*’ for argument ‘1’ to ‘int swr_init(AVAudioResampleContext*)’
/home/marc/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/audiodecoder.cpp: In member function ‘int Video::MovieAudioDecoder::audio_decode_frame(AVFrame*)’:
/home/marc/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/audiodecoder.cpp:187:77: error: cannot convert ‘SwrContext*’ to ‘AVAudioResampleContext*’ for argument ‘1’ to ‘int swr_convert(AVAudioResampleContext*, uint8_t**, int, const uint8_t**, int)’
make[2]: *** [extern/ogre-ffmpeg-videoplayer/CMakeFiles/ogre-ffmpeg-videoplayer.dir/audiodecoder.cpp.o] Error 1
make[1]: *** [extern/ogre-ffmpeg-videoplayer/CMakeFiles/ogre-ffmpeg-videoplayer.dir/all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment