Commit 2bbf7177 authored by Michael Niedermayer's avatar Michael Niedermayer

removing PIX_FMT_ANY

Originally committed as revision 1373 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5fe061a0
......@@ -60,7 +60,6 @@ enum CodecType {
};
enum PixelFormat {
PIX_FMT_ANY = -1,
PIX_FMT_YUV420P,
PIX_FMT_YUV422,
PIX_FMT_RGB24,
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment