mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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:
parent
7b007a7c1f
commit
eb567a7999
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user