[SCM] libav/experimental: 10l: WavPack demuxer forgot to seek back to initial position after block contents parsing (for custom sampling rate).
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:54:09 UTC 2013
The following commit has been merged in the experimental branch:
commit 0d32307dd2fac026a72f3a0dcb017693adac9cb0
Author: Kostya Shishkov <kostya.shishkov at gmail.com>
Date: Fri Nov 6 18:25:45 2009 +0000
10l: WavPack demuxer forgot to seek back to initial position after block
contents parsing (for custom sampling rate).
Originally committed as revision 20468 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/wv.c b/libavformat/wv.c
index abc46fa..9809b37 100644
--- a/libavformat/wv.c
+++ b/libavformat/wv.c
@@ -125,6 +125,7 @@ static int wv_read_block_header(AVFormatContext *ctx, ByteIOContext *pb)
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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list