[FFmpeg-cvslog] r20460 - trunk/libavformat/wv.c

kostya subversion
Thu Nov 5 09:10:50 CET 2009


Author: kostya
Date: Thu Nov  5 09:10:50 2009
New Revision: 20460

Log:
Initialize block_parsed before reading first block header in WavPack demuxer,
it will be useful later.

Modified:
   trunk/libavformat/wv.c

Modified: trunk/libavformat/wv.c
==============================================================================
--- trunk/libavformat/wv.c	Thu Nov  5 08:32:50 2009	(r20459)
+++ trunk/libavformat/wv.c	Thu Nov  5 09:10:50 2009	(r20460)
@@ -132,10 +132,10 @@ static int wv_read_header(AVFormatContex
     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)



More information about the ffmpeg-cvslog mailing list