aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-03-27 10:36:22 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-03-27 10:36:22 +0000
commit302ed0ddcdd145b0d80f8bd00cdb3fcc9a794c26 (patch)
tree31e7d4280d966a9f682c91844f74a6ba12fcd516
parent1e7ffa50b76b49ad774e1c3a702a34d90302c5ca (diff)
downloadffmpeg-302ed0ddcdd145b0d80f8bd00cdb3fcc9a794c26.tar.gz
flush packets
Originally committed as revision 5226 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/adtsenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/adtsenc.c b/libavformat/adtsenc.c
index 72e6c0e259..239d0ab7c8 100644
--- a/libavformat/adtsenc.c
+++ b/libavformat/adtsenc.c
@@ -100,6 +100,7 @@ static int adts_write_packet(AVFormatContext *s, AVPacket *pkt)
if(adts->write_adts)
adts_write_frame_header(s, pkt->size);
put_buffer(pb, pkt->data, pkt->size);
+ put_flush_packet(pb);
return 0;
}