summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
Diffstat (limited to 'demux')
-rw-r--r--demux/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/packet.c b/demux/packet.c
index 32fabc4f78..b33d5b618e 100644
--- a/demux/packet.c
+++ b/demux/packet.c
@@ -132,7 +132,7 @@ struct demux_packet *demux_copy_packet(struct demux_packet *dp)
int demux_packet_set_padding(struct demux_packet *dp, int start, int end)
{
-#if HAVE_AVFRAME_SKIP_SAMPLES
+#if LIBAVCODEC_VERSION_MICRO >= 100
if (!start && !end)
return 0;
if (!dp->avpacket)