ffmpeg: Fix a typo in version detection

See f0b3e08e9c75e5cdcd98c0f3142469918d1d2fd5
This commit is contained in:
Sam Edwards 2018-03-30 23:30:54 -06:00
parent 0b1ad67e13
commit 65210a5e49
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ FfmpegAudioCursor(FfmpegAudio *src) :
_can_seek = true;
_can_seek_fast = true;
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 59, 100)
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55, 45, 101)
_frame = av_frame_alloc();
#else
_frame = avcodec_alloc_frame();

View File

@ -96,7 +96,7 @@ init_from(FfmpegVideo *source) {
ReMutexHolder av_holder(_av_lock);
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 59, 100)
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55, 45, 101)
_frame = av_frame_alloc();
_frame_out = av_frame_alloc();
#else