Commit ee8d4a41 authored by Paul B Mahol's avatar Paul B Mahol

matroskaenc: fix -codec copy with TTA

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 9ddf5631
......@@ -554,6 +554,8 @@ static int mkv_write_tracks(AVFormatContext *s)
if (!bit_depth)
bit_depth = av_get_bytes_per_sample(codec->sample_fmt) << 3;
if (!bit_depth)
bit_depth = codec->bits_per_coded_sample;
if (codec->codec_id == AV_CODEC_ID_AAC)
get_aac_sample_rates(s, codec, &sample_rate, &output_sample_rate);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment