changeset 940:ef769ec24115 libavcodec

removing PIX_FMT_ANY
author michaelni
date Sun, 29 Dec 2002 22:35:46 +0000
parents 3800f9c70736
children 1e4ab5fdfca1
files avcodec.h imgconvert.c
diffstat 2 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Sun Dec 29 22:20:03 2002 +0000
+++ b/avcodec.h	Sun Dec 29 22:35:46 2002 +0000
@@ -60,7 +60,6 @@
 };
 
 enum PixelFormat {
-    PIX_FMT_ANY = -1,
     PIX_FMT_YUV420P,
     PIX_FMT_YUV422,
     PIX_FMT_RGB24,
--- a/imgconvert.c	Sun Dec 29 22:20:03 2002 +0000
+++ b/imgconvert.c	Sun Dec 29 22:35:46 2002 +0000
@@ -720,8 +720,6 @@
 {
     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: