mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-08 02:06:02 +08:00
ogg/celt: do not set sample_fmt in the demuxer
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user