Skip to content
Snippets Groups Projects
Commit 34f633df authored by Philip Gladstone's avatar Philip Gladstone
Browse files

Flush the ffm packet to the wire (or file) whenever we flush the ffm packet.

This helps streaming no end.

Originally committed as revision 4195 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e8d27bc3
No related branches found
No related tags found
No related merge requests found
...@@ -78,6 +78,7 @@ static void flush_packet(AVFormatContext *s) ...@@ -78,6 +78,7 @@ static void flush_packet(AVFormatContext *s)
h |= 0x8000; h |= 0x8000;
put_be16(pb, h); put_be16(pb, h);
put_buffer(pb, ffm->packet, ffm->packet_end - ffm->packet); put_buffer(pb, ffm->packet, ffm->packet_end - ffm->packet);
put_flush_packet(pb);
/* prepare next packet */ /* prepare next packet */
ffm->frame_offset = 0; /* no key frame */ ffm->frame_offset = 0; /* no key frame */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment