diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-14 20:39:06 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-16 22:59:39 -0400 |
commit | b7f2fdde74608d848f943377c40d3df804c5f955 (patch) | |
tree | b2d0037a77a9b3610de310217c683016b19ec204 /libavformat/img2.c | |
parent | 35f1023592b46e608a4de1566b12268e3e9e72f0 (diff) | |
download | ffmpeg-b7f2fdde74608d848f943377c40d3df804c5f955.tar.gz |
avio: rename put_flush_packet -> avio_flush
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/img2.c')
-rw-r--r-- | libavformat/img2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/img2.c b/libavformat/img2.c index 44c53fc18c..d7e014f132 100644 --- a/libavformat/img2.c +++ b/libavformat/img2.c @@ -372,8 +372,8 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) avio_write(pb[0], pkt->data , ysize); avio_write(pb[1], pkt->data + ysize, (pkt->size - ysize)/2); avio_write(pb[2], pkt->data + ysize +(pkt->size - ysize)/2, (pkt->size - ysize)/2); - put_flush_packet(pb[1]); - put_flush_packet(pb[2]); + avio_flush(pb[1]); + avio_flush(pb[2]); avio_close(pb[1]); avio_close(pb[2]); }else{ @@ -402,7 +402,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) } avio_write(pb[0], pkt->data, pkt->size); } - put_flush_packet(pb[0]); + avio_flush(pb[0]); if (!img->is_pipe) { avio_close(pb[0]); } |