changeset 25193:55783f005bf3

simplify
author michael
date Fri, 30 Nov 2007 23:46:32 +0000
parents 1291178302e2
children e816d546c4fe
files libmpdemux/demux_rawvideo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_rawvideo.c	Fri Nov 30 23:02:32 2007 +0000
+++ b/libmpdemux/demux_rawvideo.c	Fri Nov 30 23:46:32 2007 +0000
@@ -77,7 +77,7 @@
   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;