diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-02 15:00:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-03 04:14:01 +0200 |
commit | 29ef54aa9086d90d9ef2b7b3badd9aa7508f4281 (patch) | |
tree | 5feb4dfaec06bd273a29e5629041a046f4ef66a9 | |
parent | 14605a0b991585f55be07f23e53f263d97e46eac (diff) | |
download | ffmpeg-29ef54aa9086d90d9ef2b7b3badd9aa7508f4281.tar.gz |
avcodec/nvenc: Make pix_fmts_nvenc const
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/nvenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 445d60fe2c..de082d1fc7 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -1375,7 +1375,7 @@ static int nvenc_encode_frame(AVCodecContext *avctx, AVPacket *pkt, return 0; } -static enum AVPixelFormat pix_fmts_nvenc[] = { +static const enum AVPixelFormat pix_fmts_nvenc[] = { AV_PIX_FMT_NV12, AV_PIX_FMT_NONE }; |