changeset 751:dcb459ca11eb libavformat

Flush the ffm packet to the wire (or file) whenever we flush the ffm packet. This helps streaming no end.
author philipjsg
date Sat, 07 May 2005 00:58:28 +0000
parents ba67f8c7f8f9
children 484211f46feb
files ffm.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ffm.c	Fri May 06 23:41:47 2005 +0000
+++ b/ffm.c	Sat May 07 00:58:28 2005 +0000
@@ -78,6 +78,7 @@
         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 */