avcodec/utils: make sidedata remapping table static const
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 10 Nov 2014 01:53:21 +0000 (02:53 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 10 Nov 2014 01:53:21 +0000 (02:53 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c

index 0ab8688..c6b09a0 100644 (file)
@@ -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[] = {