[vlc-devel] [PATCH 1/4] i422_yuy2: use VLC_EGENERIC instead of -1
Steve Lhomme
robux4 at ycbcr.xyz
Mon Oct 5 17:03:01 CEST 2020
From: Alexandre Janniaux <ajanni at videolabs.io>
---
modules/video_chroma/i422_yuy2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_chroma/i422_yuy2.c b/modules/video_chroma/i422_yuy2.c
index 0dc990f8f8b..416dbfff02c 100644
--- a/modules/video_chroma/i422_yuy2.c
+++ b/modules/video_chroma/i422_yuy2.c
@@ -103,7 +103,7 @@ static int Activate( vlc_object_t *p_this )
if( (p_filter->fmt_in.video.i_x_offset + p_filter->fmt_in.video.i_visible_width) & 1
|| (p_filter->fmt_in.video.i_y_offset + p_filter->fmt_in.video.i_visible_height) & 1 )
{
- return -1;
+ return VLC_EGENERIC;
}
if( p_filter->fmt_in.video.orientation != p_filter->fmt_out.video.orientation )
--
2.26.2
More information about the vlc-devel
mailing list