avformat/rawenc: remove singlejpeg muxer

It was added in 51ac1f616f due to ticket #4218, in order to show a single
image via ffserver. With ffserver long gone, it serves no purpose.
pull/362/head
Gyan Doshi 4 years ago
parent 652279e35b
commit 240aa70b79
  1. 1
      libavformat/Makefile
  2. 1
      libavformat/allformats.c
  3. 13
      libavformat/rawenc.c

@ -506,7 +506,6 @@ OBJS-$(CONFIG_SGA_DEMUXER) += sga.o
OBJS-$(CONFIG_SHORTEN_DEMUXER) += shortendec.o rawdec.o OBJS-$(CONFIG_SHORTEN_DEMUXER) += shortendec.o rawdec.o
OBJS-$(CONFIG_SIFF_DEMUXER) += siff.o OBJS-$(CONFIG_SIFF_DEMUXER) += siff.o
OBJS-$(CONFIG_SIMBIOSIS_IMX_DEMUXER) += imx.o OBJS-$(CONFIG_SIMBIOSIS_IMX_DEMUXER) += imx.o
OBJS-$(CONFIG_SINGLEJPEG_MUXER) += rawenc.o
OBJS-$(CONFIG_SLN_DEMUXER) += pcmdec.o pcm.o OBJS-$(CONFIG_SLN_DEMUXER) += pcmdec.o pcm.o
OBJS-$(CONFIG_SMACKER_DEMUXER) += smacker.o OBJS-$(CONFIG_SMACKER_DEMUXER) += smacker.o
OBJS-$(CONFIG_SMJPEG_DEMUXER) += smjpegdec.o smjpeg.o OBJS-$(CONFIG_SMJPEG_DEMUXER) += smjpegdec.o smjpeg.o

@ -405,7 +405,6 @@ extern AVInputFormat ff_sga_demuxer;
extern AVInputFormat ff_shorten_demuxer; extern AVInputFormat ff_shorten_demuxer;
extern AVInputFormat ff_siff_demuxer; extern AVInputFormat ff_siff_demuxer;
extern AVInputFormat ff_simbiosis_imx_demuxer; extern AVInputFormat ff_simbiosis_imx_demuxer;
extern AVOutputFormat ff_singlejpeg_muxer;
extern AVInputFormat ff_sln_demuxer; extern AVInputFormat ff_sln_demuxer;
extern AVInputFormat ff_smacker_demuxer; extern AVInputFormat ff_smacker_demuxer;
extern AVInputFormat ff_smjpeg_demuxer; extern AVInputFormat ff_smjpeg_demuxer;

@ -399,19 +399,6 @@ AVOutputFormat ff_mjpeg_muxer = {
}; };
#endif #endif
#if CONFIG_SINGLEJPEG_MUXER
AVOutputFormat ff_singlejpeg_muxer = {
.name = "singlejpeg",
.long_name = NULL_IF_CONFIG_SMALL("JPEG single image"),
.mime_type = "image/jpeg",
.audio_codec = AV_CODEC_ID_NONE,
.video_codec = AV_CODEC_ID_MJPEG,
.init = force_one_stream,
.write_packet = ff_raw_write_packet,
.flags = AVFMT_NOTIMESTAMPS,
};
#endif
#if CONFIG_MLP_MUXER #if CONFIG_MLP_MUXER
AVOutputFormat ff_mlp_muxer = { AVOutputFormat ff_mlp_muxer = {
.name = "mlp", .name = "mlp",

Loading…
Cancel
Save