.. instead of av_get_bits_per_sample_format(). The SampleFormat enum value is authoritative.
Attach a file by drag & drop or click to upload