summaryrefslogtreecommitdiff
path: root/libavcodec/vp9dec.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vp9dec.h')
-rw-r--r--libavcodec/vp9dec.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/vp9dec.h b/libavcodec/vp9dec.h
index 4bfd50d27b..de7aba0458 100644
--- a/libavcodec/vp9dec.h
+++ b/libavcodec/vp9dec.h
@@ -166,9 +166,7 @@ typedef struct VP9Context {
} VP9Context;
struct VP9TileData {
- //VP9Context should be const, but because of the threading API(generates
- //a lot of warnings) it's not.
- VP9Context *s;
+ const VP9Context *s;
VPXRangeCoder *c_b;
VPXRangeCoder *c;
int row, row7, col, col7;