[FFmpeg-cvslog] avcodec/utils: make sidedata remapping table static const

Michael Niedermayer git at videolan.org
Mon Nov 10 03:00:25 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Nov 10 02:53:21 2014 +0100| [9889b29ff4b01bebd0d706cda7221dc5f54fe5a8] | committer: Michael Niedermayer

avcodec/utils: make sidedata remapping table static const

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9889b29ff4b01bebd0d706cda7221dc5f54fe5a8
---

 libavcodec/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 0ab8688..c6b09a0 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -736,7 +736,7 @@ int ff_init_buffer_info(AVCodecContext *avctx, AVFrame *frame)
 {
     AVPacket *pkt = avctx->internal->pkt;
     int i;
-    struct {
+    static const struct {
         enum AVPacketSideDataType packet;
         enum AVFrameSideDataType frame;
     } sd[] = {



More information about the ffmpeg-cvslog mailing list