[vlc-devel] [PATCH 19/25] codec:jpeg: fix the returned error when initializing fails
Steve Lhomme
robux4 at videolabs.io
Mon Jul 10 16:52:23 CEST 2017
---
modules/codec/jpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/jpeg.c b/modules/codec/jpeg.c
index c3119db968..0c249c0f0c 100644
--- a/modules/codec/jpeg.c
+++ b/modules/codec/jpeg.c
@@ -582,7 +582,7 @@ error:
free(p_row_pointers);
block_Release(p_block);
- return VLCDEC_SUCCESS;
+ return VLCDEC_ECRITICAL;
}
/*
--
2.12.1
More information about the vlc-devel
mailing list