make has_codec_parameters not returning true when sample_fmt is not set