OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75b53b2
)
silence gcc warning: ‘n_bands’ may be used uninitialized
author
Justin Ruggles
<justin.ruggles@gmail.com>
Thu, 4 Dec 2008 02:56:25 +0000
(
02:56
+0000)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Thu, 4 Dec 2008 02:56:25 +0000
(
02:56
+0000)
Originally committed as revision 15999 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3dec.c
b/libavcodec/ac3dec.c
index
ce473ed
..
83edfe5
100644
(file)
--- a/
libavcodec/ac3dec.c
+++ b/
libavcodec/ac3dec.c
@@
-730,7
+730,7
@@
static void decode_band_structure(GetBitContext *gbc, int blk, int eac3,
uint8_t *band_struct, int *num_subbands,
int *num_bands, uint8_t *band_sizes)
{
- int subbnd, bnd, n_subbands, n_bands;
+ int subbnd, bnd, n_subbands, n_bands
=0
;
uint8_t bnd_sz[22];
n_subbands = end_subband - start_subband;