Browse Source

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.
tags/n2.3
Carl Eugen Hoyos 11 years ago
parent
commit
ca2ec98cbe
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/libspeexdec.c

+ 0
- 1
libavcodec/libspeexdec.c View File

@@ -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…
Cancel
Save