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

eacdata: do not set sample_fmt

It is supposed to be set from lavc only.
Also this one differs from one set in decoder.
Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 7b007a7c
......@@ -76,7 +76,6 @@ static int cdata_read_header(AVFormatContext *s)
st->codec->channels = cdata->channels;
st->codec->channel_layout = channel_layout;
st->codec->sample_rate = sample_rate;
st->codec->sample_fmt = AV_SAMPLE_FMT_S16;
avpriv_set_pts_info(st, 64, 1, sample_rate);
cdata->audio_pts = 0;
......
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