projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df2eef0
)
merge declaration and initialization
author
Aurelien Jacobs
<aurel@gnuage.org>
Mon, 15 Oct 2007 22:50:36 +0000
(22:50 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Mon, 15 Oct 2007 22:50:36 +0000
(22:50 +0000)
Originally committed as revision 10750 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/electronicarts.c
patch
|
blob
|
history
diff --git
a/libavformat/electronicarts.c
b/libavformat/electronicarts.c
index
708442c
..
f3d1a66
100644
(file)
--- 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;