[FFmpeg-devel] [PATCH 14/20] tests/fate-run: Set bitexact flag for output, too

James Almer jamrial at gmail.com
Thu Oct 7 18:42:34 EEST 2021


On 10/1/2021 6:08 PM, Andreas Rheinhardt wrote:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> One could also do this more generically in the ffmpeg function.
> 
>   tests/fate-run.sh | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/fate-run.sh b/tests/fate-run.sh
> index bc1efa22d7..a16ce28a45 100755
> --- a/tests/fate-run.sh
> +++ b/tests/fate-run.sh
> @@ -178,7 +178,7 @@ pcm(){
>   fmtstdout(){
>       fmt=$1
>       shift 1
> -    ffmpeg -bitexact "$@" -f $fmt -
> +    ffmpeg -bitexact "$@" -bitexact -f $fmt -

Looking at ffmpeg_opt.c, -bitexact is a global option and applies to all 
inputs and outputs, be it de/encoders or de/muxers.

>   }
>   
>   enc_dec_pcm(){
> 



More information about the ffmpeg-devel mailing list