change the version test to include ffmpeg 56.60.100 for av_packet_unref

This commit is contained in:
Isaac Connor 2016-09-21 16:03:24 -04:00
parent 984394f920
commit 95bbaf42b6
1 changed files with 1 additions and 1 deletions

View File

@ -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 )