summaryrefslogtreecommitdiff
path: root/libavcodec/dxv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dxv.c')
-rw-r--r--libavcodec/dxv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dxv.c b/libavcodec/dxv.c
index df63006d04..b51d6393b0 100644
--- a/libavcodec/dxv.c
+++ b/libavcodec/dxv.c
@@ -783,7 +783,7 @@ static int dxv_decompress_cocg(DXVContext *ctx, GetByteContext *gb,
return ret;
}
- bytestream2_seek(gb, data_start + op_offset + skip0 + skip1 - 12, SEEK_SET);
+ bytestream2_seek(gb, data_start - 12 + op_offset + skip0 + skip1, SEEK_SET);
return 0;
}