Commit fee0508e authored by kostya's avatar kostya

Initialize block_parsed before reading first block header in WavPack demuxer,

it will be useful later.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20460 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fc4840bb
......@@ -132,10 +132,10 @@ static int wv_read_header(AVFormatContext *s,
WVContext *wc = s->priv_data;
AVStream *st;
wc->block_parsed = 0;
if(wv_read_block_header(s, pb) < 0)
return -1;
wc->block_parsed = 0;
/* now we are ready: build format streams */
st = av_new_stream(s, 0);
if (!st)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment