diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-09-24 12:39:25 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-01-06 11:30:43 +0100 |
commit | 97244c8c621ca33e440b7ae28c834b4ff3188ac9 (patch) | |
tree | 32bc569d69837d68b40660779226780932089304 | |
parent | 71e56b44ed558a7c7b46c2686c40d1ade2cfd95f (diff) | |
download | ffmpeg-97244c8c621ca33e440b7ae28c834b4ff3188ac9.tar.gz |
libavcodec/dxv: Remove redundant seek
This seeks to the position the previous call to dxv_decompress_opcodes()
positioned us in case of success
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit c371e50b4f125361eb183ac3c226f4044ae64b08)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/dxv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/dxv.c b/libavcodec/dxv.c index c6866f18e6..7c0fc4567a 100644 --- a/libavcodec/dxv.c +++ b/libavcodec/dxv.c @@ -753,7 +753,6 @@ static int dxv_decompress_cocg(DXVContext *ctx, GetByteContext *gb, skip0 = dxv_decompress_opcodes(gb, op_data0, op_size0); if (skip0 < 0) return skip0; - bytestream2_seek(gb, data_start + op_offset + skip0 - 12, SEEK_SET); if (op_size1 > max_op_size1) return AVERROR_INVALIDDATA; skip1 = dxv_decompress_opcodes(gb, op_data1, op_size1); |