[vlc-commits] codec: substx3g: fix build

Francois Cartegnie git at videolan.org
Sun Jan 7 18:34:28 CET 2018


vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Jan  7 18:33:56 2018 +0100| [e8b5b39a1c1c0fe19c8a6f11c832227ae91fb049] | committer: Francois Cartegnie

codec: substx3g: fix build

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=e8b5b39a1c1c0fe19c8a6f11c832227ae91fb049
---

 modules/codec/substx3g.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/substx3g.c b/modules/codec/substx3g.c
index db61583093..900a8cd2b2 100644
--- a/modules/codec/substx3g.c
+++ b/modules/codec/substx3g.c
@@ -260,7 +260,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
     if( p_block->i_buffer < i_psz_bytelength + 2U )
     {
         block_Release( p_block );
-        return VLCDEC_SUCCESS;
+        return NULL;
     }
 
     const uint8_t *p_pszstart = p_block->p_buffer + sizeof(uint16_t);



More information about the vlc-commits mailing list