mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avcodec: remove leftover iff_byterun1 decoder
It was merged with the iff_ilbm decoder in commit 929a24efff9a208a52748605eb412ffb915c1403. Define AV_CODEC_ID_IFF_BYTERUN1 as AV_CODEC_ID_IFF_ILBM for API compatibility. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
This commit is contained in:
parent
148418a2bc
commit
ec0275843d
@ -312,7 +312,6 @@ OBJS-$(CONFIG_HUFFYUV_DECODER) += huffyuv.o huffyuvdec.o
|
|||||||
OBJS-$(CONFIG_HUFFYUV_ENCODER) += huffyuv.o huffyuvenc.o
|
OBJS-$(CONFIG_HUFFYUV_ENCODER) += huffyuv.o huffyuvenc.o
|
||||||
OBJS-$(CONFIG_IDCIN_DECODER) += idcinvideo.o
|
OBJS-$(CONFIG_IDCIN_DECODER) += idcinvideo.o
|
||||||
OBJS-$(CONFIG_IDF_DECODER) += bintext.o cga_data.o
|
OBJS-$(CONFIG_IDF_DECODER) += bintext.o cga_data.o
|
||||||
OBJS-$(CONFIG_IFF_BYTERUN1_DECODER) += iff.o
|
|
||||||
OBJS-$(CONFIG_IFF_ILBM_DECODER) += iff.o
|
OBJS-$(CONFIG_IFF_ILBM_DECODER) += iff.o
|
||||||
OBJS-$(CONFIG_IMC_DECODER) += imc.o
|
OBJS-$(CONFIG_IMC_DECODER) += imc.o
|
||||||
OBJS-$(CONFIG_INDEO2_DECODER) += indeo2.o
|
OBJS-$(CONFIG_INDEO2_DECODER) += indeo2.o
|
||||||
|
@ -203,7 +203,6 @@ void avcodec_register_all(void)
|
|||||||
REGISTER_DECODER(HQX, hqx);
|
REGISTER_DECODER(HQX, hqx);
|
||||||
REGISTER_ENCDEC (HUFFYUV, huffyuv);
|
REGISTER_ENCDEC (HUFFYUV, huffyuv);
|
||||||
REGISTER_DECODER(IDCIN, idcin);
|
REGISTER_DECODER(IDCIN, idcin);
|
||||||
REGISTER_DECODER(IFF_BYTERUN1, iff_byterun1);
|
|
||||||
REGISTER_DECODER(IFF_ILBM, iff_ilbm);
|
REGISTER_DECODER(IFF_ILBM, iff_ilbm);
|
||||||
REGISTER_DECODER(INDEO2, indeo2);
|
REGISTER_DECODER(INDEO2, indeo2);
|
||||||
REGISTER_DECODER(INDEO3, indeo3);
|
REGISTER_DECODER(INDEO3, indeo3);
|
||||||
|
@ -241,7 +241,7 @@ enum AVCodecID {
|
|||||||
AV_CODEC_ID_ANM,
|
AV_CODEC_ID_ANM,
|
||||||
AV_CODEC_ID_BINKVIDEO,
|
AV_CODEC_ID_BINKVIDEO,
|
||||||
AV_CODEC_ID_IFF_ILBM,
|
AV_CODEC_ID_IFF_ILBM,
|
||||||
AV_CODEC_ID_IFF_BYTERUN1,
|
#define AV_CODEC_ID_IFF_BYTERUN1 AV_CODEC_ID_IFF_ILBM
|
||||||
AV_CODEC_ID_KGV1,
|
AV_CODEC_ID_KGV1,
|
||||||
AV_CODEC_ID_YOP,
|
AV_CODEC_ID_YOP,
|
||||||
AV_CODEC_ID_VP8,
|
AV_CODEC_ID_VP8,
|
||||||
|
@ -876,13 +876,6 @@ static const AVCodecDescriptor codec_descriptors[] = {
|
|||||||
.long_name = NULL_IF_CONFIG_SMALL("IFF ILBM"),
|
.long_name = NULL_IF_CONFIG_SMALL("IFF ILBM"),
|
||||||
.props = AV_CODEC_PROP_LOSSY,
|
.props = AV_CODEC_PROP_LOSSY,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
.id = AV_CODEC_ID_IFF_BYTERUN1,
|
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
|
||||||
.name = "iff_byterun1",
|
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("IFF ByteRun1"),
|
|
||||||
.props = AV_CODEC_PROP_LOSSY,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
.id = AV_CODEC_ID_KGV1,
|
.id = AV_CODEC_ID_KGV1,
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
|
@ -890,16 +890,3 @@ AVCodec ff_iff_ilbm_decoder = {
|
|||||||
.capabilities = AV_CODEC_CAP_DR1,
|
.capabilities = AV_CODEC_CAP_DR1,
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_IFF_BYTERUN1_DECODER
|
|
||||||
AVCodec ff_iff_byterun1_decoder = {
|
|
||||||
.name = "iff",
|
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("IFF"),
|
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
|
||||||
.id = AV_CODEC_ID_IFF_BYTERUN1,
|
|
||||||
.priv_data_size = sizeof(IffContext),
|
|
||||||
.init = decode_init,
|
|
||||||
.close = decode_end,
|
|
||||||
.decode = decode_frame,
|
|
||||||
.capabilities = AV_CODEC_CAP_DR1,
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
|
@ -409,7 +409,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s->codec_id == AV_CODEC_ID_IFF_ILBM || s->codec_id == AV_CODEC_ID_IFF_BYTERUN1) {
|
if (s->codec_id == AV_CODEC_ID_IFF_ILBM) {
|
||||||
w_align = FFMAX(w_align, 8);
|
w_align = FFMAX(w_align, 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -198,7 +198,7 @@ fate-hap-chunk: CMD = framecrc -i $(TARGET_SAMPLES)/hap/hapy-12-chunks.mov
|
|||||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, MOV, HAP) += $(FATE_HAP)
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, MOV, HAP) += $(FATE_HAP)
|
||||||
fate-hap: $(FATE_HAP)
|
fate-hap: $(FATE_HAP)
|
||||||
|
|
||||||
FATE_IFF-$(CONFIG_IFF_BYTERUN1_DECODER) += fate-iff-byterun1
|
FATE_IFF-$(CONFIG_IFF_ILBM_DECODER) += fate-iff-byterun1
|
||||||
fate-iff-byterun1: CMD = framecrc -i $(TARGET_SAMPLES)/iff/ASH.LBM -pix_fmt rgb24
|
fate-iff-byterun1: CMD = framecrc -i $(TARGET_SAMPLES)/iff/ASH.LBM -pix_fmt rgb24
|
||||||
|
|
||||||
FATE_IFF-$(CONFIG_EIGHTSVX_FIB_DECODER) += fate-iff-fibonacci
|
FATE_IFF-$(CONFIG_EIGHTSVX_FIB_DECODER) += fate-iff-fibonacci
|
||||||
|
Loading…
x
Reference in New Issue
Block a user