Skip to content
Snippets Groups Projects
Commit 4e38d4ef authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

mpegvideo_probe: Getting rid of the use of GCC language extensions

parent 0643ff17
No related branches found
No related tags found
No related merge requests found
...@@ -43,9 +43,9 @@ static int mpegvideo_probe(AVProbeData *p) ...@@ -43,9 +43,9 @@ static int mpegvideo_probe(AVProbeData *p)
switch(code){ switch(code){
case SEQ_START_CODE: seq++; break; case SEQ_START_CODE: seq++; break;
case PICTURE_START_CODE: pic++; break; case PICTURE_START_CODE: pic++; break;
case SLICE_START_CODE...0x1af: slice++; break;
case PACK_START_CODE: pspack++; break; case PACK_START_CODE: pspack++; break;
} }
if (code >= SLICE_START_CODE && code <= 0x1af) slice++;
if ((code & 0x1f0) == VIDEO_ID) vpes++; if ((code & 0x1f0) == VIDEO_ID) vpes++;
else if((code & 0x1e0) == AUDIO_ID) apes++; else if((code & 0x1e0) == AUDIO_ID) apes++;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment