提交 40a3105d 编写于 作者: M Michael Niedermayer

segfault fix

Originally committed as revision 2714 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 2c492e94
......@@ -1187,6 +1187,11 @@ static int wma_decode_superframe(AVCodecContext *avctx,
tprintf("***decode_superframe:\n");
if(buf_size==0){
s->last_superframe_len = 0;
return 0;
}
samples = data;
init_get_bits(&s->gb, buf, buf_size*8);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册