Commit 431ad720 authored by philipjsg's avatar philipjsg

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

This helps streaming no end.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4195 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 08c1c5a1
......@@ -78,6 +78,7 @@ static void flush_packet(AVFormatContext *s)
h |= 0x8000;
put_be16(pb, h);
put_buffer(pb, ffm->packet, ffm->packet_end - ffm->packet);
put_flush_packet(pb);
/* prepare next packet */
ffm->frame_offset = 0; /* no key 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