aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggparsecelt.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-05 04:07:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-05 04:07:59 +0200
commitec1ffae0cdbcb84e0d3474b41a51fe36b93e1a76 (patch)
tree8d82b0732c235ff3606e078c4ad4285bd60c44d7 /libavformat/oggparsecelt.c
parentf7da257a897684415c23a472b068febade7c2aca (diff)
parentdd376b1a1235fdf65e8d1ce7b7874915011c4798 (diff)
downloadffmpeg-ec1ffae0cdbcb84e0d3474b41a51fe36b93e1a76.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: qcelpdec: cosmetics: do not add line break before opening bracket in 'for', 'while', 'if/else', and 'switch' statements. qcelp: check output buffer size before decoding qcelpdec: fix the return value of qcelp_decode_frame(). sipr: fix the output data size check and only calculate it once. Synchronize various 4CCs and codec tags from FFmpeg. qdm2: check output buffer size before decoding Fix out of bound reads in the QDM2 decoder. Check for out of bound writes in the QDM2 decoder. ogg/celt: do not set sample_fmt in the demuxer Conflicts: libavcodec/avcodec.h libavcodec/qdm2.c libavformat/oggparsecelt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/oggparsecelt.c')
-rw-r--r--libavformat/oggparsecelt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/oggparsecelt.c b/libavformat/oggparsecelt.c
index 90fae7d777..0af6fccfa2 100644
--- a/libavformat/oggparsecelt.c
+++ b/libavformat/oggparsecelt.c
@@ -66,7 +66,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;
av_free(st->codec->extradata);
st->codec->extradata = extradata;
st->codec->extradata_size = 2 * sizeof(uint32_t);