You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge commit 'c8f0b20b4a6bb6691928789d83e4b02896969848'
* commit 'c8f0b20b4a6bb6691928789d83e4b02896969848': avidec: Let the inner dv demuxer take care of discarding Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1084,9 +1084,12 @@ start_sync:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((st->discard >= AVDISCARD_DEFAULT && size == 0)
|
if (!avi->dv_demux &&
|
||||||
/* || (st->discard >= AVDISCARD_NONKEY && !(pkt->flags & AV_PKT_FLAG_KEY)) */ // FIXME: needs a little reordering
|
((st->discard >= AVDISCARD_DEFAULT && size == 0) /* ||
|
||||||
|| st->discard >= AVDISCARD_ALL) {
|
// FIXME: needs a little reordering
|
||||||
|
(st->discard >= AVDISCARD_NONKEY &&
|
||||||
|
!(pkt->flags & AV_PKT_FLAG_KEY)) */
|
||||||
|
|| st->discard >= AVDISCARD_ALL)) {
|
||||||
if (!exit_early) {
|
if (!exit_early) {
|
||||||
ast->frame_offset += get_duration(ast, size);
|
ast->frame_offset += get_duration(ast, size);
|
||||||
avio_skip(pb, size);
|
avio_skip(pb, size);
|
||||||
|
Reference in New Issue
Block a user