changeset 8021:00fca5d6f0d9 libavcodec

Use PIX_FMT_NONE instead of -1 in AVCodec.pix_fmts.
author cehoyos
date Sun, 12 Oct 2008 20:22:55 +0000
parents 28d9f91aeb28
children 21c3e313709e
files libdiracenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libdiracenc.c	Sun Oct 12 19:41:17 2008 +0000
+++ b/libdiracenc.c	Sun Oct 12 20:22:55 2008 +0000
@@ -417,6 +417,6 @@
     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"),
 } ;