summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-10-19 14:00:06 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-10-20 13:06:16 -0400
commit9ef6c7977f827e73fcc6e7f5ef6165936142eab4 (patch)
treee09dbdc13d3e12e790ef58b40480b4a744ea6514
parent0e69c0477399a5545d42456d6c3aec4a3650bb67 (diff)
avformat: do not require frame_size for Speex.
Having it there forces decoding of a frame in order to get frame_size, but it is not really needed for proper demuxing or decoding.
-rw-r--r--libavformat/utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 9735d455d9..5e3e60b198 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2070,7 +2070,6 @@ static int has_codec_parameters(AVCodecContext *avctx)
avctx->codec_id == CODEC_ID_MP1 ||
avctx->codec_id == CODEC_ID_MP2 ||
avctx->codec_id == CODEC_ID_MP3 ||
- avctx->codec_id == CODEC_ID_SPEEX ||
avctx->codec_id == CODEC_ID_CELT))
return 0;
break;