Commit c4d0891b authored by Denis Charmet's avatar Denis Charmet

Fix CreateDecodedNAL return

parent ed686b09
...@@ -229,7 +229,7 @@ static uint8_t * CreateDecodedNAL( int *pi_ret, ...@@ -229,7 +229,7 @@ static uint8_t * CreateDecodedNAL( int *pi_ret,
{ {
uint8_t *dst = malloc( i_src ); uint8_t *dst = malloc( i_src );
if( !dst ) if( !dst )
return; return NULL;
*pi_ret = nal_decode( src, dst, i_src ); *pi_ret = nal_decode( src, dst, i_src );
return dst; return dst;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment