From 4036c63a336b3fa07b40d31812d662a0ef218759 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 28 Dec 2004 21:34:03 +0000 Subject: [PATCH] 0x00 is not a valid flag for the aspect ratio. --- src/mpegparser/MPEGVideoBuffer.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mpegparser/MPEGVideoBuffer.cpp b/src/mpegparser/MPEGVideoBuffer.cpp index f11c4c1a2..aaa70ecd3 100644 --- a/src/mpegparser/MPEGVideoBuffer.cpp +++ b/src/mpegparser/MPEGVideoBuffer.cpp @@ -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;