eacdata: do not set sample_fmt
authorPaul B Mahol <onemda@gmail.com>
Thu, 24 Jan 2013 12:41:32 +0000 (12:41 +0000)
committerPaul B Mahol <onemda@gmail.com>
Thu, 24 Jan 2013 15:02:44 +0000 (15:02 +0000)
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>
libavformat/eacdata.c

index be31d00..57e5145 100644 (file)
@@ -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;