[FFmpeg-cvslog] eacdata: do not set sample_fmt
Paul B Mahol
git at videolan.org
Thu Jan 24 16:05:03 CET 2013
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Jan 24 12:41:32 2013 +0000| [eb567a79990b5ce4c55d21e08cb19afc1cbfe42d] | committer: Paul B Mahol
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 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eb567a79990b5ce4c55d21e08cb19afc1cbfe42d
---
libavformat/eacdata.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavformat/eacdata.c b/libavformat/eacdata.c
index be31d00..57e5145 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;
More information about the ffmpeg-cvslog
mailing list