[FFmpeg-devel] [PATCH v2 03/18] avcodec/metaenc: added an encoder/decoder for timed metadata

Michael Niedermayer michael at niedermayer.cc
Thu Sep 1 20:01:18 EEST 2016


On Wed, Aug 31, 2016 at 02:35:46PM +0300, Erkki Seppälä wrote:
> It has the codec id AV_CODEC_ID_META and type of AVMEDIA_TYPE_DATA.
> 
> This codec basically passes the data forward and is used for referring
> timed meta data tracks by a codec. It is useful for dealing with the
> metadata in a similar way as other kinds of codecs.
> 
> Signed-off-by: Erkki Seppälä <erkki.seppala.ext at nokia.com>
> Signed-off-by: OZOPlayer <OZOPL at nokia.com>
> ---
>  configure               |  4 +--
>  libavcodec/Makefile     |  2 +-
>  libavcodec/allcodecs.c  |  3 ++
>  libavcodec/avcodec.h    |  2 +-
>  libavcodec/codec_desc.c |  8 +++++
>  libavcodec/metacodec.c  | 95 +++++++++++++++++++++++++++++++++++++++++++++++++
>  6 files changed, 110 insertions(+), 4 deletions(-)
>  create mode 100644 libavcodec/metacodec.c

[...]

> diff --git a/libavcodec/metacodec.c b/libavcodec/metacodec.c
> new file mode 100644
> index 0000000..bd8013c
> --- /dev/null
> +++ b/libavcodec/metacodec.c

this causes a compiler warning:
libavcodec/metacodec.c: In function ‘meta_encode’:
libavcodec/metacodec.c:41:21: warning: assignment from incompatible pointer type [enabled by default]

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160901/0e4e5ed4/attachment.sig>


More information about the ffmpeg-devel mailing list