Commit 9ef6c797 authored by Justin Ruggles's avatar Justin Ruggles

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.
parent 0e69c047
...@@ -2070,7 +2070,6 @@ static int has_codec_parameters(AVCodecContext *avctx) ...@@ -2070,7 +2070,6 @@ static int has_codec_parameters(AVCodecContext *avctx)
avctx->codec_id == CODEC_ID_MP1 || avctx->codec_id == CODEC_ID_MP1 ||
avctx->codec_id == CODEC_ID_MP2 || avctx->codec_id == CODEC_ID_MP2 ||
avctx->codec_id == CODEC_ID_MP3 || avctx->codec_id == CODEC_ID_MP3 ||
avctx->codec_id == CODEC_ID_SPEEX ||
avctx->codec_id == CODEC_ID_CELT)) avctx->codec_id == CODEC_ID_CELT))
return 0; return 0;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment