1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2013-01-24 12:41:32 +00:00
parent 7b007a7c1f
commit eb567a7999

View File

@ -76,7 +76,6 @@ static int cdata_read_header(AVFormatContext *s)
st->codec->channels = cdata->channels; st->codec->channels = cdata->channels;
st->codec->channel_layout = channel_layout; st->codec->channel_layout = channel_layout;
st->codec->sample_rate = sample_rate; st->codec->sample_rate = sample_rate;
st->codec->sample_fmt = AV_SAMPLE_FMT_S16;
avpriv_set_pts_info(st, 64, 1, sample_rate); avpriv_set_pts_info(st, 64, 1, sample_rate);
cdata->audio_pts = 0; cdata->audio_pts = 0;