0x00 is not a valid flag for the aspect ratio.

This commit is contained in:
Moritz Bunkus 2004-12-28 21:34:03 +00:00
parent 0d2ae49255
commit 4036c63a33

View File

@ -136,9 +136,6 @@ MPEG2SequenceHeader ParseSequenceHeader(MPEGChunk* chunk){
hdr.height = (((unsigned int)pos[0] & 0x0F) << 8) | (((unsigned int) pos[1])); //00 0x xx
pos+=2;
switch(pos[0] & 0xF0){
case 0x00:
hdr.aspectRatio = 1.0f;
break;
case 0x10:
hdr.aspectRatio = 1.0f;
break;