changeset 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 4b7e50d82bb7
children 399bb1fcdc94
files fmt-conversion.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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: