mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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.
This commit is contained in:
parent
0e69c04773
commit
9ef6c7977f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user