mpegvideo probe: fix slice counting

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-11-08 20:27:17 +01:00
parent 4b7ef5a1e6
commit 26d7eb40fd
1 changed files with 1 additions and 1 deletions

View File

@ -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++;