From 95bbaf42b6d7f275abdbad5726e842c84897935f Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 21 Sep 2016 16:03:24 -0400 Subject: [PATCH] change the version test to include ffmpeg 56.60.100 for av_packet_unref --- src/zm_ffmpeg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_ffmpeg.h b/src/zm_ffmpeg.h index 1367ce2e5..33dfedae8 100644 --- a/src/zm_ffmpeg.h +++ b/src/zm_ffmpeg.h @@ -323,7 +323,7 @@ static av_always_inline av_const int64_t av_clip64_c(int64_t a, int64_t amin, in #endif void zm_dump_stream_format(AVFormatContext *ic, int i, int index, int is_output); -#if LIBAVCODEC_VERSION_CHECK(57, 8, 0, 12, 100) +#if LIBAVCODEC_VERSION_CHECK(56, 8, 0, 60, 100) #define zm_av_unref_packet( packet ) av_packet_unref( packet ) #else #define zm_av_unref_packet( packet ) av_free_packet( packet )