[FFmpeg-cvslog] r15604 - trunk/libavcodec/libdiracenc.c

cehoyos subversion
Sun Oct 12 22:22:56 CEST 2008


Author: cehoyos
Date: Sun Oct 12 22:22:55 2008
New Revision: 15604

Log:
Use PIX_FMT_NONE instead of -1 in AVCodec.pix_fmts.

Modified:
   trunk/libavcodec/libdiracenc.c

Modified: trunk/libavcodec/libdiracenc.c
==============================================================================
--- trunk/libavcodec/libdiracenc.c	(original)
+++ trunk/libavcodec/libdiracenc.c	Sun Oct 12 22:22:55 2008
@@ -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"),
 } ;




More information about the ffmpeg-cvslog mailing list