diff imgconvert.c @ 315:40d8092e2ff0 libavcodec

* using pixtype as enum - by Philip Gladstone
author kabi
date Mon, 08 Apr 2002 21:03:35 +0000
parents 5aa6292a1660
children fce0a2520551
line wrap: on
line diff
--- a/imgconvert.c	Mon Apr 08 12:08:03 2002 +0000
+++ b/imgconvert.c	Mon Apr 08 21:03:35 2002 +0000
@@ -361,6 +361,8 @@
 {
     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: