forked from FFmpeg/FFmpeg
flush packets
Originally committed as revision 5226 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1e7ffa50b7
commit
302ed0ddcd
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ static int adts_write_packet(AVFormatContext *s, AVPacket *pkt)
|
|||
if(adts->write_adts)
|
||||
adts_write_frame_header(s, pkt->size);
|
||||
put_buffer(pb, pkt->data, pkt->size);
|
||||
put_flush_packet(pb);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue