From 5149048b6f43e345b2e23194ecf7b7dbc3a1158e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 7 Jan 2010 03:34:30 +0000 Subject: [PATCH] Mark h263_get_picture_format() av_const to indicate that it has no funny sideeffects and reads no global memory. Originally committed as revision 21044 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 797dbb9875..cbc1b2773f 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -845,7 +845,7 @@ int ff_mpeg4_decode_mb(MpegEncContext *s, * that represents some standard picture dimensions or indicates that * width&height are explicitly stored later. */ -int h263_get_picture_format(int width, int height); +int av_const h263_get_picture_format(int width, int height); void ff_mpeg4_encode_video_packet_header(MpegEncContext *s); void ff_mpeg4_clean_buffers(MpegEncContext *s);