summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-12-08 14:40:20 +0100
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-12-08 14:40:20 +0100
commit710aea16368b109fe275920345051b85ee7923f0 (patch)
tree5e844fbf685d0ed2a21878cb824889598ac8ae0e
parent9d2e4e18c195c28c6ca0938f660c8ccd90f45ca5 (diff)
downloadvdr-plugin-dxr3-710aea16368b109fe275920345051b85ee7923f0.tar.gz
vdr-plugin-dxr3-710aea16368b109fe275920345051b85ee7923f0.tar.bz2
add missing break and fix a small style issue
-rw-r--r--dxr3pesframe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dxr3pesframe.c b/dxr3pesframe.c
index 6b19906..c0731da 100644
--- a/dxr3pesframe.c
+++ b/dxr3pesframe.c
@@ -38,6 +38,7 @@ bool cDxr3PesFrame::parse(const uint8_t *pes, uint32_t length)
switch (pes[3]) {
case 0xBD: // private stream 1
m_pesDataType = PES_PRIVATE_DATA;
+ break;
case 0xC0 ... 0xDF: // audio stream
m_pesDataType = PES_AUDIO_DATA;
@@ -96,7 +97,7 @@ bool cDxr3PesFrame::parse(const uint8_t *pes, uint32_t length)
m_horizontalSize = (video[5] & 0xf0) >> 4 | video[4] << 4;
m_verticalSize = (video[5] & 0x0f) << 8 | video[6];
- switch ((video[7]) & 0xf0) {
+ switch (video[7] & 0xf0) {
case 0x20:
m_aspectRatio = EM8300_ASPECTRATIO_4_3;
break;