summaryrefslogtreecommitdiff
path: root/libavformat/eacdata.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-01-24 12:41:32 +0000
committerPaul B Mahol <onemda@gmail.com>2013-01-24 15:02:44 +0000
commiteb567a79990b5ce4c55d21e08cb19afc1cbfe42d (patch)
tree8b476cbcc4c5835ce7eeb34417590dd94221dbb8 /libavformat/eacdata.c
parent7b007a7c1fad57e9ed4b685c1d3b4222f02d9720 (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.c1
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;