diff options
Diffstat (limited to 'libavformat/rm.c')
-rw-r--r-- | libavformat/rm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rm.c b/libavformat/rm.c index fd7e955c28..bea8c4bb2c 100644 --- a/libavformat/rm.c +++ b/libavformat/rm.c @@ -854,7 +854,8 @@ resync: rm->remaining_len-= len; } - if(st->discard){ + if( (st->discard >= AVDISCARD_NONKEY && !(flags&2)) + || st->discard >= AVDISCARD_ALL){ url_fskip(pb, len); goto resync; } |