diff options
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r-- | libavformat/mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index e9b5e9b263..ecc8ac1edc 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -1541,7 +1541,7 @@ static int mpegps_read_packet(AVFormatContext *s, if (codec_id != CODEC_ID_PCM_S16BE) st->need_parsing = 1; found: - if(st->discard) + if(st->discard >= AVDISCARD_ALL) goto skip; if (startcode >= 0xa0 && startcode <= 0xbf) { int b1, freq; |