Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-09-26 23:06:33 +0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-10-04 05:23:22 +0400
commitfc2dd2c7ac9f26ae4449623875746bb1f350f08f (patch)
tree22dbbd6af1324b198915b14ee4824ed578db2386
parent60df6b004858dcab96fc96c6dd32484780a8d7c3 (diff)
ogg/celt: do not set sample_fmt in the demuxer
-rw-r--r--libavformat/oggparsecelt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/oggparsecelt.c b/libavformat/oggparsecelt.c
index 82a842c612..6a0c308e41 100644
--- a/libavformat/oggparsecelt.c
+++ b/libavformat/oggparsecelt.c
@@ -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)