mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-07 07:13:20 +00:00
segfault fix
Originally committed as revision 2754 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b46243ed1c
commit
04a59bfb8d
@ -436,6 +436,9 @@ static int ra144_decode_frame(AVCodecContext * avctx,
|
|||||||
int16_t *data = vdata;
|
int16_t *data = vdata;
|
||||||
Real144_internal *glob=avctx->priv_data;
|
Real144_internal *glob=avctx->priv_data;
|
||||||
|
|
||||||
|
if(buf_size==0)
|
||||||
|
return 0;
|
||||||
|
|
||||||
datao = data;
|
datao = data;
|
||||||
unpack_input(buf,glob->unpacked);
|
unpack_input(buf,glob->unpacked);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user