提交 1ba3bae8 编写于 作者: K Kostya Shishkov

Correctly handle empty frames

Originally committed as revision 12394 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 8c908d7d
......@@ -504,6 +504,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const
} else {
c->pic.key_frame = 0;
c->pic.pict_type = FF_P_TYPE;
if(c->decomp_len)
c->decode_xor(c);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册