Commit 26d7eb40 authored by Michael Niedermayer's avatar Michael Niedermayer

mpegvideo probe: fix slice counting

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4b7ef5a1
......@@ -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++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment