avcodec/utils: make sidedata remapping table static const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-11-10 02:53:21 +01:00
parent b44a242c3d
commit 9889b29ff4

View File

@ -736,7 +736,7 @@ int ff_init_buffer_info(AVCodecContext *avctx, AVFrame *frame)
{ {
AVPacket *pkt = avctx->internal->pkt; AVPacket *pkt = avctx->internal->pkt;
int i; int i;
struct { static const struct {
enum AVPacketSideDataType packet; enum AVPacketSideDataType packet;
enum AVFrameSideDataType frame; enum AVFrameSideDataType frame;
} sd[] = { } sd[] = {