diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-01-27 15:53:33 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-03-21 11:27:15 +0100 |
commit | ba7e165b864d69da4f0c79ec7757cb351535002f (patch) | |
tree | 202209916fae58f4d7c1cc77d4f7e6eba61dd99a /libavcodec/h264.h | |
parent | 5c4b98de4d101ea715ef86847306a510afd0db0c (diff) | |
download | ffmpeg-ba7e165b864d69da4f0c79ec7757cb351535002f.tar.gz |
h264_cabac: constify all uses of H264Context
All the variables modified by this code are either per-MB arrays or have
been moved to the per-slice context
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 671a35efca..495f5e7dd1 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -820,9 +820,9 @@ int ff_h264_decode_mb_cavlc(H264Context *h, H264SliceContext *sl); * Decode a CABAC coded macroblock * @return 0 if OK, ER_AC_ERROR / ER_DC_ERROR / ER_MV_ERROR on error */ -int ff_h264_decode_mb_cabac(H264Context *h, H264SliceContext *sl); +int ff_h264_decode_mb_cabac(const H264Context *h, H264SliceContext *sl); -void ff_h264_init_cabac_states(H264Context *h, H264SliceContext *sl); +void ff_h264_init_cabac_states(const H264Context *h, H264SliceContext *sl); void h264_init_dequant_tables(H264Context *h); |