[FFmpeg-devel] [shan.wb at gmail.com: [libav-devel] Decoder for CEA-608 and World System Teletext]

Michael Niedermayer michaelni at gmx.at
Thu Jan 22 12:30:42 CET 2015


On Thu, Jan 22, 2015 at 06:42:30AM +0000, Shan wrote:
> On 2015-01-20T11:52:39+0100 u at pkh.me relayed:
> 
> > The patches are welcome though, it might be easier to
> > work with.
> 
> Here's a base64 patch for the  CEA-608, EIA-708, Teletext, DVB VBI and
> MXF VANC decoder, as well as some other related changes as well as
> support in mpegts for Fortis OEM recordings with no PAT.

[...]

> @@ -862,7 +865,7 @@
>                  avio_w8(ctx->pb, stream->lpcm_header[0]);
>                  avio_w8(ctx->pb, stream->lpcm_header[1]);
>                  avio_w8(ctx->pb, stream->lpcm_header[2]);
> -            } else if (id >= 0x40) {


> +            } else if (id >= 0x40 && <= 0x90) {

This does not build

also thats not the only build failure:


libavformat/mpegtsenc.c: In function ‘mpegts_write_pmt’:
libavformat/mpegtsenc.c:532:13: error: invalid storage class for function ‘putstr8’
libavformat/mpegtsenc.c:532:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
libavformat/mpegtsenc.c:548:13: error: invalid storage class for function ‘mpegts_write_sdt’
libavformat/mpegtsenc.c:586:23: error: invalid storage class for function ‘mpegts_add_service’
libavformat/mpegtsenc.c:613:16: error: invalid storage class for function ‘get_pcr’
libavformat/mpegtsenc.c:619:13: error: invalid storage class for function ‘mpegts_prefix_m2ts_header’
libavformat/mpegtsenc.c:631:13: error: invalid storage class for function ‘section_write_packet’
libavformat/mpegtsenc.c:638:12: error: invalid storage class for function ‘mpegts_write_header’
libavformat/mpegtsenc.c:871:13: error: invalid storage class for function ‘retransmit_si_info’
libavformat/mpegtsenc.c:888:12: error: invalid storage class for function ‘write_pcr_bits’
libavformat/mpegtsenc.c:903:13: error: invalid storage class for function ‘mpegts_insert_null_packet’
libavformat/mpegtsenc.c:919:13: error: invalid storage class for function ‘mpegts_insert_pcr_only’
libavformat/mpegtsenc.c:944:13: error: invalid storage class for function ‘write_pts’
libavformat/mpegtsenc.c:959:13: error: invalid storage class for function ‘set_af_flag’
libavformat/mpegtsenc.c:975:13: error: invalid storage class for function ‘extend_af’
libavformat/mpegtsenc.c:983:17: error: invalid storage class for function ‘get_ts_payload_start’
libavformat/mpegtsenc.c:995:13: error: invalid storage class for function ‘mpegts_write_pes’
libavformat/mpegtsenc.c:1258:12: error: invalid storage class for function ‘check_hevc_startcode’
libavformat/mpegtsenc.c:1272:12: error: invalid storage class for function ‘mpegts_write_packet_internal’
libavformat/mpegtsenc.c:1420:13: error: invalid storage class for function ‘mpegts_write_flush’
libavformat/mpegtsenc.c:1437:12: error: invalid storage class for function ‘mpegts_write_packet’
libavformat/mpegtsenc.c:1447:12: error: invalid storage class for function ‘mpegts_write_end’
libavformat/mpegtsenc.c:1550:1: error: expected declaration or statement at end of input
libavformat/mpegtsenc.c:1537:16: warning: unused variable ‘ff_mpegts_muxer’ [-Wunused-variable]
make: *** [libavformat/mpegtsenc.o] Error 1
libavformat/mpegenc.c: In function ‘flush_packet’:
libavformat/mpegenc.c:868:38: error: expected expression before ‘<=’ token
make: *** [libavformat/mpegenc.o] Error 1
libavcodec/allcodecs.c: In function ‘avcodec_register_all’:
libavcodec/allcodecs.c:487:45: error: ‘CONFIG_CIA608_DECODER’ undeclared (first use in this function)
libavcodec/allcodecs.c:487:45: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/allcodecs.c:562:28: warning: redundant redeclaration of ‘ff_dvbvbi_parser’ [-Wredundant-decls]
libavcodec/allcodecs.c:504:28: note: previous declaration of ‘ff_dvbvbi_parser’ was here
make: *** [libavcodec/allcodecs.o] Error 1
libavcodec/codec_desc.c:2578:15: error: ‘AV_CODEC_ID_DVB_TELETEXT’ undeclared here (not in a function)
libavcodec/codec_desc.c: In function ‘avcodec_descriptor_next’:
libavcodec/codec_desc.c:2897:5: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150122/21887a2d/attachment.asc>


More information about the ffmpeg-devel mailing list