Mercurial > libavcodec.hg
comparison libdiracenc.c @ 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 | e6348a5656e0 |
children | e9d9d946f213 |
comparison
equal
deleted
inserted
replaced
8020:28d9f91aeb28 | 8021:00fca5d6f0d9 |
---|---|
415 sizeof(FfmpegDiracEncoderParams), | 415 sizeof(FfmpegDiracEncoderParams), |
416 libdirac_encode_init, | 416 libdirac_encode_init, |
417 libdirac_encode_frame, | 417 libdirac_encode_frame, |
418 libdirac_encode_close, | 418 libdirac_encode_close, |
419 .capabilities= CODEC_CAP_DELAY, | 419 .capabilities= CODEC_CAP_DELAY, |
420 .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, -1}, | 420 .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_NONE}, |
421 .long_name= NULL_IF_CONFIG_SMALL("libdirac Dirac 2.2"), | 421 .long_name= NULL_IF_CONFIG_SMALL("libdirac Dirac 2.2"), |
422 } ; | 422 } ; |