Mark h263_get_picture_format() av_const to indicate that it has no funny
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 7 Jan 2010 03:34:30 +0000 (03:34 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 7 Jan 2010 03:34:30 +0000 (03:34 +0000)
sideeffects and reads no global memory.

Originally committed as revision 21044 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegvideo.h

index 797dbb9..cbc1b27 100644 (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);