changeset 24740:caae775a1619

support Y800 in raw video patch by Attila tvs, oattila chello hu
author diego
date Sat, 13 Oct 2007 09:41:50 +0000
parents 1c09a39f755a
children 5ce7bc88eb0c
files libmpdemux/demux_rawvideo.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_rawvideo.c	Sat Oct 13 09:40:32 2007 +0000
+++ b/libmpdemux/demux_rawvideo.c	Sat Oct 13 09:41:50 2007 +0000
@@ -79,6 +79,7 @@
   case IMGFMT_YV12: imgsize=width*height+2*(width>>1)*(height>>1);break;
   case IMGFMT_YUY2: imgsize=width*height*2;break;
   case IMGFMT_UYVY: imgsize=width*height*2;break;
+  case IMGFMT_Y800:
   case IMGFMT_Y8: imgsize=width*height;break;
   default:
       if (IMGFMT_IS_RGB(format))