diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c index 27b9ae8f81..65829b6a33 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -436,6 +436,9 @@ static int ra144_decode_frame(AVCodecContext * avctx, int16_t *data = vdata; Real144_internal *glob=avctx->priv_data; + if(buf_size==0) + return 0; + datao = data; unpack_input(buf,glob->unpacked);