Commit 04c50cb3 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dnxhdenc: make header_prefix static const

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0553f2c6
......@@ -353,7 +353,7 @@ static av_cold int dnxhd_encode_init(AVCodecContext *avctx)
static int dnxhd_write_header(AVCodecContext *avctx, uint8_t *buf)
{
DNXHDEncContext *ctx = avctx->priv_data;
const uint8_t header_prefix[5] = { 0x00,0x00,0x02,0x80,0x01 };
static const uint8_t header_prefix[5] = { 0x00,0x00,0x02,0x80,0x01 };
memset(buf, 0, 640);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment