Commit b8d15f15 authored by kostya's avatar kostya

10l: WavPack demuxer forgot to seek back to initial position after block

contents parsing (for custom sampling rate).


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20468 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 56901c08
...@@ -125,6 +125,7 @@ static int wv_read_block_header(AVFormatContext *ctx, ByteIOContext *pb) ...@@ -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"); av_log(ctx, AV_LOG_ERROR, "Cannot determine custom sampling rate\n");
return -1; return -1;
} }
url_fseek(pb, block_end - wc->blksize + 24, SEEK_SET);
} }
if(!wc->bpp) wc->bpp = bpp; if(!wc->bpp) wc->bpp = bpp;
if(!wc->chan) wc->chan = chan; if(!wc->chan) wc->chan = chan;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment