[vlc-devel] commit: Fixed segfault with I410 (it is 10 bits per pel). (Laurent Aimar )
git version control
git at videolan.org
Thu Aug 28 13:04:16 CEST 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Aug 28 13:03:08 2008 +0200| [48079eeaa7c011485072486cfe1efb6dbbe33b4d] | committer: Laurent Aimar
Fixed segfault with I410 (it is 10 bits per pel).
It fixes SVQ1 (at least).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=48079eeaa7c011485072486cfe1efb6dbbe33b4d
---
src/video_output/vout_pictures.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/video_output/vout_pictures.c b/src/video_output/vout_pictures.c
index 9c62089..20a1143 100644
--- a/src/video_output/vout_pictures.c
+++ b/src/video_output/vout_pictures.c
@@ -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;
More information about the vlc-devel
mailing list