[FFmpeg-devel] [PATCH] Decoder for CEA-608 and World System Teletext [WIP]
compn
tempn at mi.rr.com
Fri Jan 23 15:58:23 CET 2015
On Fri, 23 Jan 2015 04:42:22 +0100
Michael Niedermayer <michaelni at gmx.at> wrote:
> From: Shan <shan.wb at gmail.com>
>
> Patch fixed by Shan so it builds and passes fate
>
> version 2.5:
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 13b211e..ae7610b 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -267,6 +267,7 @@ Codecs:
> ulti* Kostya Shishkov
> v410*.c Derek Buitenhuis
> vb.c Kostya Shishkov
> + vbidec.c Shan Weber
vbisubdec.c
> +#define VBI_CLASS(c,o)\
> +static const AVClass c##_decoder_class = {\
> + .class_name = #c" decoder",\
> + .item_name = av_default_item_name,\
> + .option = o,\
> + .version = LIBAVUTIL_VERSION_INT,\
> +};
> +
> +#define VBI_DECODE(l_,i_,d_) \
> +AVCodec ff_ ## l_ ## _decoder = {\
> + .name = #l_,\
> + .long_name = NULL_IF_CONFIG_SMALL(d_ " subtitle"),\
> + .type = AVMEDIA_TYPE_SUBTITLE,\
> + .id = AV_CODEC_ID_##i_,\
> + .priv_data_size = sizeof(VBICodecContext),\
> + .init = vbi_subtitle_decode_init,\
> + .decode = vbi_subtitle_decode_frame,\
> + .priv_class = &l_##_decoder_class,\
something weird about this? what if all decoders are enabled?
(not important to resend patch for these, just pointing it out)
-compn
More information about the ffmpeg-devel
mailing list