[vlc-commits] packetizer: dts: 16LE: read header from converted buffer

Francois Cartegnie git at videolan.org
Mon Feb 9 13:32:52 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb  9 12:24:58 2015 +0100| [f38dfb973c8ad71ff90a594c18526b036744870b] | committer: Francois Cartegnie

packetizer: dts: 16LE: read header from converted buffer

refs A-codecs/DTS/dts/dtswavsample16.wav

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f38dfb973c8ad71ff90a594c18526b036744870b
---

 modules/codec/dts_header.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/dts_header.c b/modules/codec/dts_header.c
index 04c488b..a6fed9a 100644
--- a/modules/codec/dts_header.c
+++ b/modules/codec/dts_header.c
@@ -195,7 +195,7 @@ int GetSyncInfo( const uint8_t *p_buf,
     {
         uint8_t conv_buf[DTS_HEADER_SIZE];
         BufLeToBe( conv_buf, p_buf, DTS_HEADER_SIZE );
-        i_frame_size = SyncInfo16be( p_buf, pi_audio_mode, pi_sample_rate,
+        i_frame_size = SyncInfo16be( conv_buf, pi_audio_mode, pi_sample_rate,
                                      pi_bit_rate, pi_frame_length );
     }
     /* DTS-HD */



More information about the vlc-commits mailing list