ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Sat May 2 15:00:35 2015 +0200| [29ef54aa9086d90d9ef2b7b3badd9aa7508f4281] | committer: Michael Niedermayer
avcodec/nvenc: Make pix_fmts_nvenc const Reviewed-by: Timo Rothenpieler <t...@rothenpieler.org> Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=29ef54aa9086d90d9ef2b7b3badd9aa7508f4281 --- libavcodec/nvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 445d60f..de082d1 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 }; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog