diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-01-24 16:41:32 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-01-24 19:02:44 +0400 |
commit | eb567a79990b5ce4c55d21e08cb19afc1cbfe42d (patch) | |
tree | 8b476cbcc4c5835ce7eeb34417590dd94221dbb8 /libavformat/eacdata.c | |
parent | 7b007a7c1fad57e9ed4b685c1d3b4222f02d9720 (diff) |
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>
Diffstat (limited to 'libavformat/eacdata.c')
-rw-r--r-- | libavformat/eacdata.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/eacdata.c b/libavformat/eacdata.c index be31d007e0..57e514566f 100644 --- a/libavformat/eacdata.c +++ b/libavformat/eacdata.c @@ -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; |