Mercurial > libavformat.hg
changeset 5353:70956fb584b3 libavformat
10l: WavPack demuxer forgot to seek back to initial position after block
contents parsing (for custom sampling rate).
author | kostya |
---|---|
date | Fri, 06 Nov 2009 18:25:45 +0000 |
parents | c8a47f9a36a8 |
children | 0f7d0b4f9bd8 |
files | wv.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/wv.c Thu Nov 05 14:25:37 2009 +0000 +++ b/wv.c Fri Nov 06 18:25:45 2009 +0000 @@ -125,6 +125,7 @@ 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;