diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-08 20:27:17 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-08 20:27:17 +0100 |
commit | 26d7eb40fd3a2fff994cb4bb3c775fd212b77724 (patch) | |
tree | 54be1740bc55c520c4804f98da0f649683ec22d0 /libavformat/mpegvideodec.c | |
parent | 4b7ef5a1e6fa622fc85741c9c1ca11c798cda9cb (diff) | |
download | ffmpeg-26d7eb40fd3a2fff994cb4bb3c775fd212b77724.tar.gz |
mpegvideo probe: fix slice counting
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpegvideodec.c')
-rw-r--r-- | libavformat/mpegvideodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegvideodec.c b/libavformat/mpegvideodec.c index d38d6955e4..1e8aa4eada 100644 --- a/libavformat/mpegvideodec.c +++ b/libavformat/mpegvideodec.c @@ -43,7 +43,7 @@ static int mpegvideo_probe(AVProbeData *p) switch(code){ case SEQ_START_CODE: seq++; break; case PICTURE_START_CODE: pic++; break; - case SLICE_START_CODE: slice++; break; + case SLICE_START_CODE...0x1af: slice++; break; case PACK_START_CODE: pspack++; break; } if ((code & 0x1f0) == VIDEO_ID) pes++; |