summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-10-12 20:22:55 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-10-12 20:22:55 +0000
commit3bd9f70835b04dd64ce1fc95eda251dbb5d038cc (patch)
treef01a52f0b40495fd4ecde770a47eb3478d36c9b4 /libavcodec
parent89493e10efe5f41f780f63f2b2d14964862d4d3a (diff)
downloadffmpeg-3bd9f70835b04dd64ce1fc95eda251dbb5d038cc.tar.gz
Use PIX_FMT_NONE instead of -1 in AVCodec.pix_fmts.
Originally committed as revision 15604 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libdiracenc.c2
1 files changed, 1 insertions, 1 deletions
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"),
} ;