10l (ret vs. ret>0)

Originally committed as revision 3818 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2005-01-10 20:29:39 +00:00
parent c31b812166
commit 4bbc62606d

View File

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