Permalink
Browse files

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.
  • Loading branch information...
1 parent 4d80850 commit b783562feb46f44e0c917efc3374c272d7c9cd6c @justinruggles committed Oct 19, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 libavformat/utils.c
View
@@ -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;

0 comments on commit b783562

Please sign in to comment.