]> git.sesse.net Git - vlc/commitdiff
Fixed segfault with I410 (it is 10 bits per pel).
authorLaurent Aimar <fenrir@videolan.org>
Thu, 28 Aug 2008 11:03:08 +0000 (13:03 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Thu, 28 Aug 2008 11:03:08 +0000 (13:03 +0200)
It fixes SVQ1 (at least).

src/video_output/vout_pictures.c

index 9c620895b897fd551b31ba43341e3e200c2de349..20a1143ae89fdf8e60379f6195ee3408915434a6 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 = 9;
+            p_format->i_bits_per_pixel = 10;
             break;
         case FOURCC_Y211:
             p_format->i_bits_per_pixel = 8;