Commit 9239707b authored by bcoudurier's avatar bcoudurier

flush packets


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5226 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 131d4832
...@@ -100,6 +100,7 @@ static int adts_write_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -100,6 +100,7 @@ static int adts_write_packet(AVFormatContext *s, AVPacket *pkt)
if(adts->write_adts) if(adts->write_adts)
adts_write_frame_header(s, pkt->size); adts_write_frame_header(s, pkt->size);
put_buffer(pb, pkt->data, pkt->size); put_buffer(pb, pkt->data, pkt->size);
put_flush_packet(pb);
return 0; return 0;
} }
......
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