[MPlayer-cvslog] r25221 - trunk/libmpdemux/demux_rawvideo.c

michael subversion at mplayerhq.hu
Sat Dec 1 00:46:32 CET 2007


Author: michael
Date: Sat Dec  1 00:46:32 2007
New Revision: 25221

Log:
simplify


Modified:
   trunk/libmpdemux/demux_rawvideo.c

Modified: trunk/libmpdemux/demux_rawvideo.c
==============================================================================
--- trunk/libmpdemux/demux_rawvideo.c	(original)
+++ trunk/libmpdemux/demux_rawvideo.c	Sat Dec  1 00:46:32 2007
@@ -77,7 +77,7 @@ static demuxer_t* demux_rawvideo_open(de
   case IMGFMT_NV12:
   case IMGFMT_HM12:
   case IMGFMT_YV12: imgsize=width*height+2*(width>>1)*(height>>1);break;
-  case IMGFMT_YUY2: imgsize=width*height*2;break;
+  case IMGFMT_YUY2:
   case IMGFMT_UYVY: imgsize=width*height*2;break;
   case IMGFMT_Y800:
   case IMGFMT_Y8: imgsize=width*height;break;



More information about the MPlayer-cvslog mailing list