diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-02 23:10:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-02 23:10:42 +0200 |
commit | 04c50cb3a0b91b43b8441129f5aecc06324f2764 (patch) | |
tree | e8f9cfb0a762f6eb7e04749e353a84a88981ed84 | |
parent | 0553f2c6e5852842498e53026cae887246dd31ed (diff) | |
download | ffmpeg-04c50cb3a0b91b43b8441129f5aecc06324f2764.tar.gz |
avcodec/dnxhdenc: make header_prefix static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/dnxhdenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index 0af948e78b..6bfd88ad03 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@ -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); |