10l (ret vs. ret>0)
Originally committed as revision 3818 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c31b812166
commit
4bbc62606d
1 changed files with 1 additions and 1 deletions
2
ffmpeg.c
2
ffmpeg.c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue