From eb567a79990b5ce4c55d21e08cb19afc1cbfe42d Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 24 Jan 2013 12:41:32 +0000 Subject: 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 --- libavformat/eacdata.c | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.3