]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libspeexdec.c
Do not overwrite the sample format with AV_SAMPLE_FMT_NONE in libspeex_decode_init().
[ffmpeg] / libavcodec / libspeexdec.c
index 53e06d9b9e0b43829d3ebbad179f1858a0d6b1b4..5e149a5d5ccaa098d170d264a2d47de34225e728 100644 (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);