[FFmpeg-devel] [PATCH 1/2] avformat/mxfdec: change toolkit_version metadata field to toolkit_version_num

Tomas Härdin tjoppen at acc.umu.se
Fri Feb 26 14:58:40 EET 2021


lör 2021-02-20 klockan 00:17 +0100 skrev Marton Balint:
> It only got added recently, and the new name makes it consistent with
> product_version_num in the next patch.
> 
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  libavformat/mxfdec.c                 | 2 +-
>  tests/ref/fate/mxf-d10-user-comments | 2 +-
>  tests/ref/fate/mxf-probe-applehdr10  | 2 +-
>  tests/ref/fate/mxf-probe-dnxhd       | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
> index 9f22c386f0..3ce83dde54 100644
> --- a/libavformat/mxfdec.c
> +++ b/libavformat/mxfdec.c
> @@ -2798,7 +2798,7 @@ static int mxf_read_identification_metadata(void *arg, AVIOContext *pb, int tag,
>          SET_TS_METADATA(pb, "modification_date", ts, str);
>          break;
>      case 0x3C07:
> -        SET_VERSION_METADATA(pb, "toolkit_version", major, minor, tertiary, patch, release, str);
> +        SET_VERSION_METADATA(pb, "toolkit_version_num", major, minor, tertiary, patch, release, str);

Should be fine assuming there hasn't been a new version released yet.

/Tomas



More information about the ffmpeg-devel mailing list