summaryrefslogtreecommitdiff
path: root/libavformat/rmenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-16 14:14:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-16 14:24:11 +0200
commitf276a490f01bd31b3c9b6111867745e72da7e59d (patch)
tree26979a20f820b8d32a9f5a00b7dfea500205d148 /libavformat/rmenc.c
parentd214e5cfb414ea2b8cbcf3c4300288b130388d4a (diff)
parent3f7fd59d151a2773f0e2e93e56b6b13ec6e5334b (diff)
Merge commit '3f7fd59d151a2773f0e2e93e56b6b13ec6e5334b'
* commit '3f7fd59d151a2773f0e2e93e56b6b13ec6e5334b': avformat: fix typo in avformat_close_input mp3enc: write Xing TOC mp3enc: support MPEG-2 and MPEG-2.5 in Xing header. mp3enc: downgrade some errors in writing Xing frame to warnings lavf: flush the output AVIOContext in av_write_trailer(). lavf: cosmetics, reformat av_write_trailer(). avio: flush the internal buffer in avio_close() Enhance doc on asyncts audiofilter cmdutils: avoid setting data pointers to invalid values in alloc_buffer() libavcodec: remove av_destruct_packet_nofree() Conflicts: libavcodec/avpacket.c libavformat/mp3enc.c libavformat/nutenc.c libavformat/utils.c libavformat/version.h tests/ref/lavf/voc tests/ref/lavf/voc_s16 Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rmenc.c')
-rw-r--r--libavformat/rmenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmenc.c b/libavformat/rmenc.c
index 6376322d5c..6c05657a07 100644
--- a/libavformat/rmenc.c
+++ b/libavformat/rmenc.c
@@ -460,7 +460,7 @@ static int rm_write_trailer(AVFormatContext *s)
avio_wb32(pb, 0);
avio_wb32(pb, 0);
}
- avio_flush(pb);
+
return 0;
}