[FFmpeg-devel] [PATCH 1/3] fate/lavf-audio: Test writing AIFF-native tags

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Mar 17 16:48:20 EET 2024


Andreas Rheinhardt:
> In particular, test writing tags with odd strlen.
> (These tags are zero-padded to even size.)
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  tests/fate/lavf-audio.mak | 1 +
>  tests/ref/lavf/aiff       | 4 ++--
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/fate/lavf-audio.mak b/tests/fate/lavf-audio.mak
> index d54cd107e0..7ea0c41da9 100644
> --- a/tests/fate/lavf-audio.mak
> +++ b/tests/fate/lavf-audio.mak
> @@ -28,6 +28,7 @@ $(FATE_LAVF_AUDIO): CMD = lavf_audio
>  $(FATE_LAVF_AUDIO): REF = $(SRC_PATH)/tests/ref/lavf/$(@:fate-lavf-%=%)
>  $(FATE_LAVF_AUDIO): $(AREF)
>  
> +fate-lavf-aiff: CMD = lavf_audio "" "-metadata copyright=noone"
>  fate-lavf-al fate-lavf-ul: CMD = lavf_audio "" "" "-ar 44100"
>  fate-lavf-dfpwm: CMD = lavf_audio "" "" "-sample_rate 44100"
>  fate-lavf-ogg: CMD = lavf_audio "" "-c:a flac"
> diff --git a/tests/ref/lavf/aiff b/tests/ref/lavf/aiff
> index d72ec85150..e208ff3e16 100644
> --- a/tests/ref/lavf/aiff
> +++ b/tests/ref/lavf/aiff
> @@ -1,3 +1,3 @@
> -2c129d88acef834e32869145fe792b9c *tests/data/lavf/lavf.aiff
> -88270 tests/data/lavf/lavf.aiff
> +655b5bd68e7a59599ab6663de0015324 *tests/data/lavf/lavf.aiff
> +88284 tests/data/lavf/lavf.aiff
>  tests/data/lavf/lavf.aiff CRC=0x3a1da17e

Will apply this patchset with the fate references updated.

- Andreas



More information about the ffmpeg-devel mailing list