diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-03-25 00:23:46 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-14 21:16:53 +0200 |
commit | 8de9bb6e5e527e2bcc8b2cff2da4107ecef23421 (patch) | |
tree | 3e15b14b5c1eb821c49b232e9362eb6921cdbfc1 /libavformat/rmenc.c | |
parent | bc1847addf34a6c9216512b458f6a993c60461cb (diff) | |
download | ffmpeg-8de9bb6e5e527e2bcc8b2cff2da4107ecef23421.tar.gz |
lavf: remove some flushing in write_packet muxers callbacks.
Since 4f112a8e3, this is not necessary anymore. Also, it allows to
actually disable the flushing.
Diffstat (limited to 'libavformat/rmenc.c')
-rw-r--r-- | libavformat/rmenc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/rmenc.c b/libavformat/rmenc.c index a96c42933d..17192ff275 100644 --- a/libavformat/rmenc.c +++ b/libavformat/rmenc.c @@ -374,7 +374,6 @@ static int rm_write_audio(AVFormatContext *s, const uint8_t *buf, int size, int } else { avio_write(pb, buf, size); } - avio_flush(pb); stream->nb_frames++; av_free(buf1); return 0; @@ -419,7 +418,6 @@ static int rm_write_video(AVFormatContext *s, const uint8_t *buf, int size, int avio_w8(pb, stream->nb_frames & 0xff); avio_write(pb, buf, size); - avio_flush(pb); stream->nb_frames++; return 0; |