mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-05-07 00:50:27 +00:00
libspeexenc: use AVSampleFormat instead of deprecated/removed SampleFormat
Fixes build with --enable-libspeex
This commit is contained in:
parent
c5254755c0
commit
2c577155a7
1 changed files with 1 additions and 1 deletions
|
|
@ -319,7 +319,7 @@ AVCodec ff_libspeex_encoder = {
|
|||
.encode = encode_frame,
|
||||
.close = encode_close,
|
||||
.capabilities = CODEC_CAP_DELAY,
|
||||
.sample_fmts = (const enum SampleFormat[]){ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE },
|
||||
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE },
|
||||
.long_name = NULL_IF_CONFIG_SMALL("libspeex Speex"),
|
||||
.priv_class = &class,
|
||||
.defaults = defaults,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue