summaryrefslogtreecommitdiff
path: root/libavformat/soxdec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-11-07 22:35:00 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-11-07 22:35:00 +0000
commit1a15ab492090de959dd2025b16a64411b39910b6 (patch)
tree387c8edf28321989f5daf8bb43b26df432ad014e /libavformat/soxdec.c
parentf3001e0deeacbfb0966b5d59bb1e0318f0eee4fc (diff)
Do not set AVCodecContext.sample_fmt in the TMV and SoX demuxers.
Originally committed as revision 20471 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/soxdec.c')
-rw-r--r--libavformat/soxdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/soxdec.c b/libavformat/soxdec.c
index f6389caec9..59c0278ce2 100644
--- a/libavformat/soxdec.c
+++ b/libavformat/soxdec.c
@@ -107,7 +107,6 @@ static int sox_read_header(AVFormatContext *s,
url_fskip(pb, header_size - SOX_FIXED_HDR - comment_size);
st->codec->sample_rate = sample_rate;
- st->codec->sample_fmt = SAMPLE_FMT_S32;
st->codec->bits_per_coded_sample = 32;
st->codec->bit_rate = st->codec->sample_rate *
st->codec->bits_per_coded_sample *