Commit 1853bff1 authored by Laurent Aimar's avatar Laurent Aimar

Revert "dts: Initialize i_frame_size to a default value."

This reverts commit 260dd07f.

 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.
parent b77f2a72
...@@ -581,7 +581,7 @@ static int SyncInfo( const uint8_t *p_buf, ...@@ -581,7 +581,7 @@ static int SyncInfo( const uint8_t *p_buf,
unsigned int *pi_frame_length ) unsigned int *pi_frame_length )
{ {
unsigned int i_audio_mode; unsigned int i_audio_mode;
unsigned int i_frame_size = 0; unsigned int i_frame_size;
/* 14 bits, little endian version of the bitstream */ /* 14 bits, little endian version of the bitstream */
if( p_buf[0] == 0xff && p_buf[1] == 0x1f && if( p_buf[0] == 0xff && p_buf[1] == 0x1f &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment