summaryrefslogtreecommitdiff
path: root/libavformat/mpjpeg.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-14 20:39:06 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-16 22:59:39 -0400
commitb7f2fdde74608d848f943377c40d3df804c5f955 (patch)
treeb2d0037a77a9b3610de310217c683016b19ec204 /libavformat/mpjpeg.c
parent35f1023592b46e608a4de1566b12268e3e9e72f0 (diff)
avio: rename put_flush_packet -> avio_flush
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/mpjpeg.c')
-rw-r--r--libavformat/mpjpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpjpeg.c b/libavformat/mpjpeg.c
index e98fb363e7..e6f6bcc5f6 100644
--- a/libavformat/mpjpeg.c
+++ b/libavformat/mpjpeg.c
@@ -30,7 +30,7 @@ static int mpjpeg_write_header(AVFormatContext *s)
snprintf(buf1, sizeof(buf1), "--%s\n", BOUNDARY_TAG);
avio_write(s->pb, buf1, strlen(buf1));
- put_flush_packet(s->pb);
+ avio_flush(s->pb);
return 0;
}
@@ -44,7 +44,7 @@ static int mpjpeg_write_packet(AVFormatContext *s, AVPacket *pkt)
snprintf(buf1, sizeof(buf1), "\n--%s\n", BOUNDARY_TAG);
avio_write(s->pb, buf1, strlen(buf1));
- put_flush_packet(s->pb);
+ avio_flush(s->pb);
return 0;
}