git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0553f2c
)
avcodec/dnxhdenc: make header_prefix static const
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 2 Aug 2013 21:10:42 +0000
(23:10 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 2 Aug 2013 21:10:42 +0000
(23:10 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dnxhdenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/dnxhdenc.c
b/libavcodec/dnxhdenc.c
index
0af948e
..
6bfd88a
100644
(file)
--- 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);