mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Do not overwrite the sample format with AV_SAMPLE_FMT_NONE in libspeex_decode_init().
Fixes a regression since ef48ac65
when decoding speex in f4v, reported
by irc user massdos.
This commit is contained in:
parent
1acb5ca02a
commit
ca2ec98cbe
@ -43,7 +43,6 @@ static av_cold int libspeex_decode_init(AVCodecContext *avctx)
|
||||
SpeexHeader *header = NULL;
|
||||
int spx_mode;
|
||||
|
||||
avctx->sample_fmt = AV_SAMPLE_FMT_NONE;
|
||||
if (avctx->extradata && avctx->extradata_size >= 80) {
|
||||
header = speex_packet_to_header(avctx->extradata,
|
||||
avctx->extradata_size);
|
||||
|
Loading…
Reference in New Issue
Block a user