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 )