Mercurial > libavcodec.hg
comparison libtheoraenc.c @ 6788:e1302edb0f69 libavcodec
Replace some occurrences of -1 with PIX_FMT_NONE.
Fixes icc warning #188: enumerated type mixed with another type
author | cehoyos |
---|---|
date | Sun, 11 May 2008 22:28:43 +0000 |
parents | f7cbb7733146 |
children | e943e1409077 |
comparison
equal
deleted
inserted
replaced
6787:d24da66bec76 | 6788:e1302edb0f69 |
---|---|
262 } | 262 } |
263 av_log(avc_context, AV_LOG_ERROR, "theora_encode_packetout failed (%s) [%d]\n", message, result); | 263 av_log(avc_context, AV_LOG_ERROR, "theora_encode_packetout failed (%s) [%d]\n", message, result); |
264 return -1; | 264 return -1; |
265 } | 265 } |
266 | 266 |
267 static const enum PixelFormat supported_pixel_formats[] = { PIX_FMT_YUV420P, -1 }; | 267 static const enum PixelFormat supported_pixel_formats[] = { PIX_FMT_YUV420P, PIX_FMT_NONE }; |
268 | 268 |
269 /*! AVCodec struct exposed to libavcodec */ | 269 /*! AVCodec struct exposed to libavcodec */ |
270 AVCodec libtheora_encoder = | 270 AVCodec libtheora_encoder = |
271 { | 271 { |
272 .name = "libtheora", | 272 .name = "libtheora", |