]> git.sesse.net Git - vlc/commitdiff
Revert "Fixed segfault with I410 (it is 10 bits per pel)."
authorLaurent Aimar <fenrir@videolan.org>
Thu, 28 Aug 2008 22:17:37 +0000 (00:17 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 29 Aug 2008 10:12:57 +0000 (12:12 +0200)
This reverts commit 48079eeaa7c011485072486cfe1efb6dbbe33b4d.
I410 is 9 bits per pel, it is ffmpeg doing something wrong.

src/video_output/vout_pictures.c

index 20a1143ae89fdf8e60379f6195ee3408915434a6..9c620895b897fd551b31ba43341e3e200c2de349 100644 (file)
@@ -617,7 +617,7 @@ void vout_InitFormat( video_frame_format_t *p_format, vlc_fourcc_t i_chroma,
             break;
         case FOURCC_I410:
         case FOURCC_YVU9:
-            p_format->i_bits_per_pixel = 10;
+            p_format->i_bits_per_pixel = 9;
             break;
         case FOURCC_Y211:
             p_format->i_bits_per_pixel = 8;