summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dxr3pesframe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dxr3pesframe.c b/dxr3pesframe.c
index 8bf5fe3..99c3e6c 100644
--- a/dxr3pesframe.c
+++ b/dxr3pesframe.c
@@ -176,16 +176,16 @@ int cDxr3PesFrame::ExtractVideoData(cDxr3SafeArray<uint8_t> esFrame)
case 0x20:
m_staticAspectRatio = m_aspectRatio = ASPECTRATIO_4_3;
break;
-
case 0x30:
m_staticAspectRatio = m_aspectRatio = ASPECTRATIO_16_9;
break;
-
default:
break;
}
- m_staticHorizontalSize = m_horizontalSize = (esFrame[i + 5] & 0xF0) >> 4 | esFrame[i + 4] << 4;
- m_staticVerticalSize = m_verticalSize = ((esFrame[i + 5] & 0x0F) << 8) | (esFrame[i + 6]);
+ m_staticHorizontalSize = m_horizontalSize =
+ (esFrame[i + 5] & 0xF0) >> 4 | esFrame[i + 4] << 4;
+ m_staticVerticalSize = m_verticalSize =
+ ((esFrame[i + 5] & 0x0F) << 8) | (esFrame[i + 6]);
}
}
}