OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c256469
)
Initialize block_parsed before reading first block header in WavPack demuxer,
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Thu, 5 Nov 2009 08:10:50 +0000
(08:10 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Thu, 5 Nov 2009 08:10:50 +0000
(08:10 +0000)
it will be useful later.
Originally committed as revision 20460 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/wv.c
patch
|
blob
|
history
diff --git
a/libavformat/wv.c
b/libavformat/wv.c
index
ffb2b35
..
e5c93f5
100644
(file)
--- a/
libavformat/wv.c
+++ b/
libavformat/wv.c
@@
-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)