Browse Source

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
tags/v0.5
Philip Gladstone 20 years ago
parent
commit
34f633dfcb
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/ffm.c

+ 1
- 0
libavformat/ffm.c View File

@@ -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 */


Loading…
Cancel
Save