change the version test to include ffmpeg 56.60.100 for av_packet_unref
This commit is contained in:
parent
984394f920
commit
95bbaf42b6
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue