New upstream version 22.0.3+dfsg1

This commit is contained in:
Sebastian Ramacher 2018-12-16 17:14:58 +01:00
parent 665f64a933
commit cdc9a9fc87
334 changed files with 14525 additions and 2639 deletions

View file

@ -290,6 +290,11 @@ static bool open_audio_codec(struct ffmpeg_data *data)
return false;
}
data->aframe->format = context->sample_fmt;
data->aframe->channels = context->channels;
data->aframe->channel_layout = context->channel_layout;
data->aframe->sample_rate = context->sample_rate;
context->strict_std_compliance = -2;
ret = avcodec_open2(context, data->acodec, NULL);