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.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19936 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
corey 2006-09-22 18:18:56 +00:00
parent 951ed4f966
commit aa820534b6
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ enum PixelFormat imgfmt2pixfmt(int fmt)
case IMGFMT_IF09:
case IMGFMT_YVU9:
return PIX_FMT_YUV410P;
case IMGFMT_I420:
case IMGFMT_YV12:
return PIX_FMT_YUV420P;
case IMGFMT_411P: