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 | 7505c8dfba255f8e6c6dbb574d0cec91da16f24d (patch) | |
tree | fc06175683eb45dd9f3524188efddd96a0832c40 /libavcodec/h264.h | |
parent | ba7e165b864d69da4f0c79ec7757cb351535002f (diff) | |
download | ffmpeg-7505c8dfba255f8e6c6dbb574d0cec91da16f24d.tar.gz |
h264_cavlc: 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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 495f5e7dd1..6e907a4ea0 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -814,7 +814,7 @@ void ff_h264_decode_init_vlc(void); * Decode a macroblock * @return 0 if OK, ER_AC_ERROR / ER_DC_ERROR / ER_MV_ERROR on error */ -int ff_h264_decode_mb_cavlc(H264Context *h, H264SliceContext *sl); +int ff_h264_decode_mb_cavlc(const H264Context *h, H264SliceContext *sl); /** * Decode a CABAC coded macroblock |