aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-05-11 22:28:43 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-05-11 22:28:43 +0000
commiteacced45c47222efebcf66bfced9375a16490e07 (patch)
tree6955e28d81e19ae992f6be7812d05714e80456eb /libavcodec/libx264.c
parent488aca9b1e2eb9136b77e00335b2f529cbb248d2 (diff)
downloadffmpeg-eacced45c47222efebcf66bfced9375a16490e07.tar.gz
Replace some occurrences of -1 with PIX_FMT_NONE.
Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r--libavcodec/libx264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 2e3a88ebd9..f82083a6c4 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -296,6 +296,6 @@ AVCodec libx264_encoder = {
.encode = X264_frame,
.close = X264_close,
.capabilities = CODEC_CAP_DELAY,
- .pix_fmts = (enum PixelFormat[]) { PIX_FMT_YUV420P, -1 },
+ .pix_fmts = (enum PixelFormat[]) { PIX_FMT_YUV420P, PIX_FMT_NONE },
.long_name = "libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
};