ogg/celt: do not set sample_fmt in the demuxer
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 26 Sep 2011 19:06:33 +0000 (15:06 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 4 Oct 2011 01:23:22 +0000 (21:23 -0400)
libavformat/oggparsecelt.c

index 82a842c..6a0c308 100644 (file)
@@ -68,7 +68,6 @@ static int celt_header(AVFormatContext *s, int idx)
         st->codec->sample_rate    = sample_rate;
         st->codec->channels       = nb_channels;
         st->codec->frame_size     = frame_size;
-        st->codec->sample_fmt     = AV_SAMPLE_FMT_S16;
         st->codec->extradata      = extradata;
         st->codec->extradata_size = 2 * sizeof(uint32_t);
         if (sample_rate)