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

kostya subversion
Fri Nov 6 19:25:45 CET 2009


Author: kostya
Date: Fri Nov  6 19:25:45 2009
New Revision: 20468

Log:
10l: WavPack demuxer forgot to seek back to initial position after block
contents parsing (for custom sampling rate).

Modified:
   trunk/libavformat/wv.c

Modified: trunk/libavformat/wv.c
==============================================================================
--- trunk/libavformat/wv.c	Fri Nov  6 00:45:15 2009	(r20467)
+++ trunk/libavformat/wv.c	Fri Nov  6 19:25:45 2009	(r20468)
@@ -125,6 +125,7 @@ static int wv_read_block_header(AVFormat
             av_log(ctx, AV_LOG_ERROR, "Cannot determine custom sampling rate\n");
             return -1;
         }
+        url_fseek(pb, block_end - wc->blksize + 24, SEEK_SET);
     }
     if(!wc->bpp) wc->bpp = bpp;
     if(!wc->chan) wc->chan = chan;



More information about the ffmpeg-cvslog mailing list