changeset 10781:89a464c5fad5 libavcodec

Mark h263_get_picture_format() av_const to indicate that it has no funny sideeffects and reads no global memory.
author michael
date Thu, 07 Jan 2010 03:34:30 +0000
parents ec6cbd8fcd6c
children 7061be6d8e96
files mpegvideo.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.h	Thu Jan 07 03:30:45 2010 +0000
+++ b/mpegvideo.h	Thu Jan 07 03:34:30 2010 +0000
@@ -845,7 +845,7 @@
  * 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);