mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
merge declaration and initialization
Originally committed as revision 10750 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
df2eef0fef
commit
a066c5b7c9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user