summaryrefslogtreecommitdiffstats
path: root/libavcodec/gsmdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-26 12:38:03 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-26 12:38:03 +0100
commitcd51d9a98403a97c0ec1a2a57337193d489a5096 (patch)
tree26e783e1f26108485bb0eabe2e704bcb5ca8d258 /libavcodec/gsmdec.c
parent8c87658fdc657fa0c19c9b507645b03d5295eb49 (diff)
downloadffmpeg-streaming-cd51d9a98403a97c0ec1a2a57337193d489a5096.zip
ffmpeg-streaming-cd51d9a98403a97c0ec1a2a57337193d489a5096.tar.gz
Revert "avcodec/gsmdec: reject unsupported msn audio modes"
they should be supported now This reverts commit 1ee1a3d9f4e152b641f05d2be6dbe3f440485cca.
Diffstat (limited to 'libavcodec/gsmdec.c')
-rw-r--r--libavcodec/gsmdec.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/gsmdec.c b/libavcodec/gsmdec.c
index 077056a..c4cde92 100644
--- a/libavcodec/gsmdec.c
+++ b/libavcodec/gsmdec.c
@@ -34,14 +34,6 @@
static av_cold int gsm_init(AVCodecContext *avctx)
{
- if (avctx->codec_tag == 0x0032 &&
- avctx->bit_rate != 13000 &&
- avctx->bit_rate != 17912 &&
- avctx->bit_rate != 35824 &&
- avctx->bit_rate != 71656) {
- av_log(avctx, AV_LOG_ERROR, "Unsupported audio mode\n");
- return AVERROR_PATCHWELCOME;
- }
avctx->channels = 1;
avctx->channel_layout = AV_CH_LAYOUT_MONO;
if (!avctx->sample_rate)
OpenPOWER on IntegriCloud