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
This commit is contained in:
Michael Niedermayer 2010-01-07 03:34:30 +00:00
parent 7a05b0a675
commit 5149048b6f

View File

@ -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);