Re: [FFmpeg-devel] [PATCH] avcodec/ac3_tab: Zero-terminate ff_ac3_sample_rate_tab

2020-04-11 Thread Andreas Rheinhardt
Carl Eugen Hoyos: > Am Sa., 11. Apr. 2020 um 16:41 Uhr schrieb Andreas Rheinhardt > : >> >> This is required to use it as an AVCodec.supported_samplerates array. >> Adding the sentinel has been forgotten in 4679a474. >> Without it e.g. the FATE-test ffmpeg-filter_complex_audio fails with ASAN. >

Re: [FFmpeg-devel] [PATCH] avcodec/ac3_tab: Zero-terminate ff_ac3_sample_rate_tab

2020-04-11 Thread Carl Eugen Hoyos
Am Sa., 11. Apr. 2020 um 16:41 Uhr schrieb Andreas Rheinhardt : > > This is required to use it as an AVCodec.supported_samplerates array. > Adding the sentinel has been forgotten in 4679a474. > Without it e.g. the FATE-test ffmpeg-filter_complex_audio fails with ASAN. lgtm Thank you, Carl Eugen

[FFmpeg-devel] [PATCH] avcodec/ac3_tab: Zero-terminate ff_ac3_sample_rate_tab

2020-04-11 Thread Andreas Rheinhardt
This is required to use it as an AVCodec.supported_samplerates array. Adding the sentinel has been forgotten in 4679a474. Without it e.g. the FATE-test ffmpeg-filter_complex_audio fails with ASAN. Signed-off-by: Andreas Rheinhardt --- libavcodec/ac3tab.c | 2 +- libavcodec/ac3tab.h | 2 +- 2