mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
0x00 is not a valid flag for the aspect ratio.
This commit is contained in:
parent
0d2ae49255
commit
4036c63a33
@ -136,9 +136,6 @@ MPEG2SequenceHeader ParseSequenceHeader(MPEGChunk* chunk){
|
|||||||
hdr.height = (((unsigned int)pos[0] & 0x0F) << 8) | (((unsigned int) pos[1])); //00 0x xx
|
hdr.height = (((unsigned int)pos[0] & 0x0F) << 8) | (((unsigned int) pos[1])); //00 0x xx
|
||||||
pos+=2;
|
pos+=2;
|
||||||
switch(pos[0] & 0xF0){
|
switch(pos[0] & 0xF0){
|
||||||
case 0x00:
|
|
||||||
hdr.aspectRatio = 1.0f;
|
|
||||||
break;
|
|
||||||
case 0x10:
|
case 0x10:
|
||||||
hdr.aspectRatio = 1.0f;
|
hdr.aspectRatio = 1.0f;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user