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
release/0.6
Michael Niedermayer 15 years ago
parent 7a05b0a675
commit 5149048b6f
  1. 2
      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);

Loading…
Cancel
Save