mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
avcodec/dnxhdenc: make header_prefix static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0553f2c6e5
commit
04c50cb3a0
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user