[FFmpeg-devel] [PATCH] libavformat/avidec: Extract more metadata from the header

Anton Khirnov anton at khirnov.net
Wed Nov 11 17:39:26 EET 2020


Quoting Thierry Foucu (2020-11-07 00:10:17)
> ---
>  libavformat/avidec.c | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
> 
> diff --git a/libavformat/avidec.c b/libavformat/avidec.c
> index 578cf68ce1..7e527e15ee 100644
> --- a/libavformat/avidec.c
> +++ b/libavformat/avidec.c
> @@ -110,6 +110,15 @@ static const char avi_headers[][8] = {
>  
>  static const AVMetadataConv avi_metadata_conv[] = {
>      { "strn", "title" },
> +    { "isbj", "subject" },
> +    { "inam", "title" },
> +    { "iart", "artist" },
> +    { "icop", "copyright" },
> +    { "icmt", "comment" },
> +    { "ignr", "genre" },
> +    { "iprd", "product" },
> +    { "isft", "software" },
> +

This seems duplicated with ff_riff_info_conv.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list