Commit b896d342 authored by michaelni's avatar michaelni

removing PIX_FMT_ANY


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1373 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8f8b1841
......@@ -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