uint32_t freq_ts = pts->audio_freq_timestamp;
do {
used = avcodec_decode_audio(ffmpeg->m_c, (short *)ffmpeg->m_outbuf,
outsize=AVCODEC_MAX_AUDIO_FRAME_SIZE;
used = avcodec_decode_audio2(ffmpeg->m_c, (short *)ffmpeg->m_outbuf,
&outsize, buffer, left);
if (used < 0) {
ffmpeg_message(LOG_DEBUG, "ffmpeg", "failed to decode at "U64,