diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-10-15 22:50:36 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-10-15 22:50:36 +0000 |
commit | a066c5b7c93fcf8aff22f2d8056a3ea8815194e0 (patch) | |
tree | d755126fd40bc6e5cbbb4e6424add03d9cc3ed21 | |
parent | df2eef0fef668a4bb532cc68fcf093ae97fae98d (diff) | |
download | ffmpeg-a066c5b7c93fcf8aff22f2d8056a3ea8815194e0.tar.gz |
merge declaration and initialization
Originally committed as revision 10750 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/electronicarts.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index 708442c0b9..f3d1a66746 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -70,7 +70,7 @@ static uint32_t read_arbitary(ByteIOContext *pb) { * Returns 1 if the WVE file is valid and successfully opened, 0 otherwise */ static int process_ea_header(AVFormatContext *s) { - int inHeader; + int inHeader = 1; uint32_t blockid, size; EaDemuxContext *ea = s->priv_data; ByteIOContext *pb = &s->pb; @@ -83,7 +83,6 @@ static int process_ea_header(AVFormatContext *s) { return 0; } - inHeader = 1; while (inHeader) { int inSubheader; uint8_t byte; |