[bTSstream-devel] mp2v: fix wrong height
Christophe Massiot
git at videolan.org
Sat Jun 20 22:20:57 CEST 2015
bitstream | branch: master | Christophe Massiot <cmassiot at openheadend.tv> | Sat Jun 20 22:20:44 2015 +0200| [61546af6d7cfdeae6a203b0473eb725bfa844c2b] | committer: Christophe Massiot
mp2v: fix wrong height
> http://git.videolan.org/gitweb.cgi/bitstream.git/?a=commit;h=61546af6d7cfdeae6a203b0473eb725bfa844c2b
---
mpeg/mp2v.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mpeg/mp2v.h b/mpeg/mp2v.h
index 9289877..e9cb1bd 100644
--- a/mpeg/mp2v.h
+++ b/mpeg/mp2v.h
@@ -147,7 +147,7 @@ static inline void mp2vseq_set_vertical(uint8_t *p_mp2vseq, uint16_t i_vertical)
static inline uint16_t mp2vseq_get_vertical(const uint8_t *p_mp2vseq)
{
- return ((p_mp2vseq[5] & 0xf) << 8) | p_mp2vseq[6] >> 4;
+ return ((p_mp2vseq[5] & 0xf) << 8) | p_mp2vseq[6];
}
static inline void mp2vseq_set_aspect(uint8_t *p_mp2vseq, uint8_t i_aspect)
More information about the biTStream-devel
mailing list