Mercurial > libavformat.hg
changeset 2611:48784931f30a libavformat
merge declaration and initialization
author | aurel |
---|---|
date | Mon, 15 Oct 2007 22:50:36 +0000 |
parents | 2db42ecdb57b |
children | 256e5d7828e5 |
files | electronicarts.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/electronicarts.c Mon Oct 15 22:50:10 2007 +0000 +++ b/electronicarts.c Mon Oct 15 22:50:36 2007 +0000 @@ -70,7 +70,7 @@ * 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 @@ return 0; } - inHeader = 1; while (inHeader) { int inSubheader; uint8_t byte;