summaryrefslogtreecommitdiff
path: root/libavformat/mpjpeg.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-01-07 14:55:45 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2020-01-08 01:32:26 +0100
commitad18f69bcba05f825b7a27e779873ae830273e84 (patch)
treec2651b40de1d774ece7eaf0c02a2010601475d74 /libavformat/mpjpeg.c
parent45e7c67affb57f0286fc111e61686025f4ef4a04 (diff)
avformat/mpjpeg: Remove mpjpeg_write_trailer
It does nothing. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/mpjpeg.c')
-rw-r--r--libavformat/mpjpeg.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/mpjpeg.c b/libavformat/mpjpeg.c
index e410e84801..0404e86d7f 100644
--- a/libavformat/mpjpeg.c
+++ b/libavformat/mpjpeg.c
@@ -49,11 +49,6 @@ static int mpjpeg_write_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
-static int mpjpeg_write_trailer(AVFormatContext *s)
-{
- return 0;
-}
-
static const AVOption options[] = {
{ "boundary_tag", "Boundary tag", offsetof(MPJPEGContext, boundary_tag), AV_OPT_TYPE_STRING, {.str = BOUNDARY_TAG}, .flags = AV_OPT_FLAG_ENCODING_PARAM },
{ NULL },
@@ -76,7 +71,6 @@ AVOutputFormat ff_mpjpeg_muxer = {
.video_codec = AV_CODEC_ID_MJPEG,
.write_header = mpjpeg_write_header,
.write_packet = mpjpeg_write_packet,
- .write_trailer = mpjpeg_write_trailer,
.flags = AVFMT_NOTIMESTAMPS,
.priv_class = &mpjpeg_muxer_class,
};