diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-09-24 12:39:25 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-10-08 16:24:58 +0200 |
commit | c371e50b4f125361eb183ac3c226f4044ae64b08 (patch) | |
tree | 5d35ef65ac3c3205694106ac779d719cab2841e4 /libavcodec/dxv.c | |
parent | 7f0498ed461987b62bb97ff6463b4df108d60d78 (diff) | |
download | ffmpeg-c371e50b4f125361eb183ac3c226f4044ae64b08.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>
Diffstat (limited to 'libavcodec/dxv.c')
-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 d67412a3a2..df63006d04 100644 --- a/libavcodec/dxv.c +++ b/libavcodec/dxv.c @@ -755,7 +755,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); |