diff options
author | wm4 <wm4@nowhere> | 2016-10-18 19:14:15 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-10-18 19:14:15 +0200 |
commit | a2fa0d0b68ce200598122145254f56ae1adff91e (patch) | |
tree | 3fbcea8b3b2b1f96099f24911791570939d48436 /demux | |
parent | b86a2316df260de70012fb05dbddf06118b00611 (diff) |
demux_lavf: don't accidentally enable edit list crap on Libav
You really don't get a break from all the multiple bullshit.
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux_lavf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index 5aed536bf4..0188801aba 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -938,7 +938,8 @@ static int demux_lavf_fill_buffer(demuxer_t *demux) #endif dp->pos = pkt->pos; dp->keyframe = pkt->flags & AV_PKT_FLAG_KEY; -#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(57, 50, 100) +#if LIBAVFORMAT_VERSION_MICRO >= 100 && \ + LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(57, 50, 100) if (pkt->flags & AV_PKT_FLAG_DISCARD) MP_ERR(demux, "Edit lists are not correctly supported (FFmpeg issue).\n"); #endif |