Commit 9a50bb40 authored by michael's avatar michael

10l (ret vs. ret>0)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3818 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 34ad497f
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment