From 7505c8dfba255f8e6c6dbb574d0cec91da16f24d Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 27 Jan 2015 15:53:33 +0100 Subject: 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 --- libavcodec/h264.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/h264.h') 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 -- cgit v1.2.3