[vlc-commits] Fix CreateDecodedNAL return

Denis Charmet git at videolan.org
Mon Feb 24 23:25:37 CET 2014


vlc | branch: master | Denis Charmet <typx at dinauz.org> | Mon Feb 24 23:24:48 2014 +0100| [c4d0891bf9321c96ba3c5c5eb2d819e1d38ee164] | committer: Denis Charmet

Fix CreateDecodedNAL return

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

 modules/demux/mpeg/hevc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mpeg/hevc.c b/modules/demux/mpeg/hevc.c
index f5ebbad..9add76b 100644
--- a/modules/demux/mpeg/hevc.c
+++ b/modules/demux/mpeg/hevc.c
@@ -229,7 +229,7 @@ static uint8_t * CreateDecodedNAL( int *pi_ret,
 {
     uint8_t *dst = malloc( i_src );
     if( !dst )
-        return;
+        return NULL;
 
     *pi_ret = nal_decode( src, dst, i_src );
     return dst;



More information about the vlc-commits mailing list