summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/wv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/wv.c b/libavformat/wv.c
index abc46fad1b..9809b37a15 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;