|
|
@@ -57,7 +57,7 @@ av_cold static int audio_read_header(AVFormatContext *s1, |
|
|
AVStream *st; |
|
|
AVStream *st; |
|
|
int ret; |
|
|
int ret; |
|
|
unsigned int sample_rate; |
|
|
unsigned int sample_rate; |
|
|
int codec_id; |
|
|
|
|
|
|
|
|
enum CodecID codec_id; |
|
|
snd_pcm_sw_params_t *sw_params; |
|
|
snd_pcm_sw_params_t *sw_params; |
|
|
|
|
|
|
|
|
if (ap->sample_rate <= 0) { |
|
|
if (ap->sample_rate <= 0) { |
|
|
|