removing PIX_FMT_ANY

Originally committed as revision 1373 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2002-12-29 22:35:46 +00:00
parent 5fe061a027
commit 2bbf71777f
2 changed files with 0 additions and 3 deletions

View File

@ -60,7 +60,6 @@ enum CodecType {
};
enum PixelFormat {
PIX_FMT_ANY = -1,
PIX_FMT_YUV420P,
PIX_FMT_YUV422,
PIX_FMT_RGB24,

View File

@ -720,8 +720,6 @@ int img_convert(AVPicture *dst, int dst_pix_fmt,
{
int i;
assert(pix_fmt != PIX_FMT_ANY && dst_pix_fmt != PIX_FMT_ANY);
if (dst_pix_fmt == pix_fmt) {
switch(pix_fmt) {
case PIX_FMT_YUV420P: