diff options
Diffstat (limited to 'src/mp4_decode.c')
-rw-r--r-- | src/mp4_decode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mp4_decode.c b/src/mp4_decode.c index 4705a6ed6..dccc7a846 100644 --- a/src/mp4_decode.c +++ b/src/mp4_decode.c @@ -220,8 +220,7 @@ int mp4_decode(OutputBuffer * cb, DecoderControl * dc) { if(dc->seek && seekPositionFound) { seekPositionFound = 0; chunkLen = 0; - cb->end = cb->begin; - cb->wrap = 0; + clearOutputBuffer(cb); dc->seek = 0; } |