Browse Source

segfault fix

Originally committed as revision 2754 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 22 years ago
parent
commit
04a59bfb8d
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/ra144.c

+ 3
- 0
libavcodec/ra144.c View File

@@ -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);


Loading…
Cancel
Save