Add conversion from IMGFMT_Y8 to PIX_FMT_GRAY8
authorlucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 21 Sep 2006 14:26:08 +0000 (14:26 +0000)
committerlucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 21 Sep 2006 14:26:08 +0000 (14:26 +0000)
Patch by Gianluigi Tiesi (sherpya AT netfarm DOT it>

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@19922 b3059339-0415-0410-9bf9-f77b7e298cf2

fmt-conversion.h

index f5882c8..2c46fce 100644 (file)
@@ -44,6 +44,7 @@ enum PixelFormat imgfmt2pixfmt(int fmt)
         case IMGFMT_NV21:
             return PIX_FMT_NV21;
         case IMGFMT_Y800:
+        case IMGFMT_Y8:
             return PIX_FMT_GRAY8;
         case IMGFMT_IF09:
         case IMGFMT_YVU9: