diff fmt-conversion.h @ 19930:5d0eaf70e1bc

Add missing conversion from IMGFMT_I420 to PIX_FMT_YUV420P. This fixes recent bug with x264 and '-vf scale'. Patch by Luca Abeni (lucabe72 at email dot it); applied at his request.
author corey
date Fri, 22 Sep 2006 18:18:56 +0000
parents 3c9f5824444e
children bf1fbe97cc40
line wrap: on
line diff
--- a/fmt-conversion.h	Fri Sep 22 13:06:09 2006 +0000
+++ b/fmt-conversion.h	Fri Sep 22 18:18:56 2006 +0000
@@ -49,6 +49,7 @@
         case IMGFMT_IF09:
         case IMGFMT_YVU9:
             return PIX_FMT_YUV410P;
+        case IMGFMT_I420:
         case IMGFMT_YV12:
             return PIX_FMT_YUV420P;
         case IMGFMT_411P: