Commit 1cc8be40 authored by michael's avatar michael

fix probe of 001.vdr-broken-6025


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8550 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 294122b6
...@@ -337,9 +337,9 @@ static int mpegvideo_probe(AVProbeData *p) ...@@ -337,9 +337,9 @@ static int mpegvideo_probe(AVProbeData *p)
case PICTURE_START_CODE: pic++; break; case PICTURE_START_CODE: pic++; break;
case SLICE_START_CODE: slice++; break; case SLICE_START_CODE: slice++; break;
case PACK_START_CODE: pspack++; break; case PACK_START_CODE: pspack++; break;
case VIDEO_ID:
case AUDIO_ID: pes++; break;
} }
if ((code & 0x1f0) == VIDEO_ID) pes++;
else if((code & 0x1e0) == AUDIO_ID) pes++;
} }
} }
if(seq && seq*9<=pic*10 && pic*9<=slice*10 && !pspack && !pes) if(seq && seq*9<=pic*10 && pic*9<=slice*10 && !pspack && !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