[vlc-commits] codec: aes3: fix 16bps decoding (fix #17522)
Francois Cartegnie
git at videolan.org
Wed Oct 19 11:37:08 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Oct 19 11:35:10 2016 +0200| [11ee0d6d8349d0765718b1633f7f822992e8184d] | committer: Francois Cartegnie
codec: aes3: fix 16bps decoding (fix #17522)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=11ee0d6d8349d0765718b1633f7f822992e8184d
---
modules/codec/aes3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/aes3.c b/modules/codec/aes3.c
index f0b60b8..ce7f20d 100644
--- a/modules/codec/aes3.c
+++ b/modules/codec/aes3.c
@@ -208,7 +208,7 @@ static block_t *Decode( decoder_t *p_dec, block_t **pp_block )
while( p_block->i_buffer / 5 )
{
*(p_out++) = reverse[p_block->p_buffer[0]]
- | reverse[p_block->p_buffer[1]];
+ |(reverse[p_block->p_buffer[1]] << 8);
*(p_out++) = (reverse[p_block->p_buffer[2]] >> 4)
| (reverse[p_block->p_buffer[3]] << 4)
| (reverse[p_block->p_buffer[4]] << 12);
More information about the vlc-commits
mailing list