aic->sample_size = (st->codecpar->channels *av_get_bits_per_sample(st->codecpar->codec_id)) /8;if(!aic->sample_size) { av_log(s, AV_LOG_ERROR,"could not compute sample size\n");return-1; } aic->samples_per_frame = samples_per_frame; aic->samples = aic->samples_per_fram...