Browse Source

Initialize block_parsed before reading first block header in WavPack demuxer,

it will be useful later.

Originally committed as revision 20460 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Kostya Shishkov 15 years ago
parent
commit
aa926a480f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/wv.c

+ 1
- 1
libavformat/wv.c View File

@@ -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)


Loading…
Cancel
Save