avcodec/utils: make sidedata remapping table static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b44a242c3d
commit
9889b29ff4
@ -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[] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user