Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/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
You can’t perform that action at this time.