From 3bd9f70835b04dd64ce1fc95eda251dbb5d038cc Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 12 Oct 2008 20:22:55 +0000 Subject: [PATCH] Use PIX_FMT_NONE instead of -1 in AVCodec.pix_fmts. Originally committed as revision 15604 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/libdiracenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libdiracenc.c b/libavcodec/libdiracenc.c index b0de3441b0..9c99b1545e 100644 --- a/libavcodec/libdiracenc.c +++ b/libavcodec/libdiracenc.c @@ -417,6 +417,6 @@ AVCodec libdirac_encoder = { libdirac_encode_frame, libdirac_encode_close, .capabilities= CODEC_CAP_DELAY, - .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, -1}, + .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_NONE}, .long_name= NULL_IF_CONFIG_SMALL("libdirac Dirac 2.2"), } ;