[vlc-devel] commit: Revert "dts: Initialize i_frame_size to a default value." ( Laurent Aimar )
git version control
git at videolan.org
Mon Aug 24 22:43:22 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Aug 24 22:00:28 2009 +0200| [1853bff167e3797e8f5fd801d18c52adedd3188e] | committer: Laurent Aimar
Revert "dts: Initialize i_frame_size to a default value."
This reverts commit 260dd07fc161a8c20dfdb992c28d7a865eb93c98.
It is useless, the variable cannot be uninitialized, and does not
generate a warning for me. The patch could prevent finding real
bug if the code is modified.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1853bff167e3797e8f5fd801d18c52adedd3188e
---
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 21aa4f6..b7520d3 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 = 0;
+ unsigned int i_frame_size;
/* 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