all repos — mgba @ fc095ffd63259166d9a20cf23133b25efd966aea

mGBA Game Boy Advance Emulator

FFmpeg: Fix warnings on lavc 56
Jeffrey Pfau jeffrey@endrift.com
Wed, 07 Sep 2016 23:13:34 -0700
commit

fc095ffd63259166d9a20cf23133b25efd966aea

parent

d390bd6b7f44c3111f494cfc962a0e21bbbc2b8b

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/feature/ffmpeg/ffmpeg-encoder.hsrc/feature/ffmpeg/ffmpeg-encoder.h

@@ -34,7 +34,7 @@ size_t currentAudioSample;

int64_t currentAudioFrame; int64_t nextAudioPts; struct AVAudioResampleContext* resampleContext; -#if LIBAVCODEC_VERSION_MAJOR >= 56 +#if LIBAVCODEC_VERSION_MAJOR >= 57 struct AVBSFContext* absf; // Needed for AAC in MP4 #else struct AVBitStreamFilterContext* absf; // Needed for AAC in MP4