提交 4bbc6260 编写于 作者: M Michael Niedermayer

10l (ret vs. ret>0)

Originally committed as revision 3818 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 c31b8121
......@@ -899,7 +899,7 @@ static void do_video_out(AVFormatContext *s,
bit_buffer, bit_buffer_size,
&big_picture);
//enc->frame_number = enc->real_pict_num;
if(ret){
if(ret>0){
pkt.data= bit_buffer;
pkt.size= ret;
if(enc->coded_frame)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册