1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

ogg/celt: do not set sample_fmt in the demuxer

This commit is contained in:
Justin Ruggles 2011-09-26 15:06:33 -04:00
parent 60df6b0048
commit fc2dd2c7ac

View File

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