summaryrefslogtreecommitdiff
path: root/libavformat/ffm.c
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2005-05-07 00:58:28 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2005-05-07 00:58:28 +0000
commit34f633dfcb0423b18f0ff57f5db1dc97a889a78e (patch)
tree8e99dd1f8097777eda76e06d72b38e8caecb9711 /libavformat/ffm.c
parente8d27bc302779344c5c8b69397561fbf38709ee9 (diff)
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
Diffstat (limited to 'libavformat/ffm.c')
-rw-r--r--libavformat/ffm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/ffm.c b/libavformat/ffm.c
index a5dd036024..c705a8e597 100644
--- a/libavformat/ffm.c
+++ b/libavformat/ffm.c
@@ -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 */