[vlc-devel] commit: dts: Initialize i_frame_size to a default value. (Pierre d' Herbemont )

git version control git at videolan.org
Thu Aug 20 14:28:33 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 12:11:29 2009 +0200| [260dd07fc161a8c20dfdb992c28d7a865eb93c98] | committer: Pierre d'Herbemont 

dts: Initialize i_frame_size to a default value.

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

 modules/codec/dts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/dts.c b/modules/codec/dts.c
index b7520d3..21aa4f6 100644
--- a/modules/codec/dts.c
+++ b/modules/codec/dts.c
@@ -581,7 +581,7 @@ static int SyncInfo( const uint8_t *p_buf,
                      unsigned int *pi_frame_length )
 {
     unsigned int i_audio_mode;
-    unsigned int i_frame_size;
+    unsigned int i_frame_size = 0;
 
     /* 14 bits, little endian version of the bitstream */
     if( p_buf[0] == 0xff && p_buf[1] == 0x1f &&




More information about the vlc-devel mailing list