Commit 4bbc6260 authored by Michael Niedermayer's avatar Michael Niedermayer

10l (ret vs. ret>0)

Originally committed as revision 3818 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c31b8121
...@@ -899,7 +899,7 @@ static void do_video_out(AVFormatContext *s, ...@@ -899,7 +899,7 @@ static void do_video_out(AVFormatContext *s,
bit_buffer, bit_buffer_size, bit_buffer, bit_buffer_size,
&big_picture); &big_picture);
//enc->frame_number = enc->real_pict_num; //enc->frame_number = enc->real_pict_num;
if(ret){ if(ret>0){
pkt.data= bit_buffer; pkt.data= bit_buffer;
pkt.size= ret; pkt.size= ret;
if(enc->coded_frame) 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