[SCM] libav/experimental: Mark h263_get_picture_format() av_const to indicate that it has no funny sideeffects and reads no global memory.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:56:49 UTC 2013


The following commit has been merged in the experimental branch:
commit 5149048b6f43e345b2e23194ecf7b7dbc3a1158e
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Thu Jan 7 03:34:30 2010 +0000

    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

diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 797dbb9..cbc1b27 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);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list