diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-27 11:28:21 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-27 11:28:21 -0500 |
commit | 2c577155a7e6a5c63279a165d2dd67af4a10e346 (patch) | |
tree | 49c61efb5530bdb28db56caab9bc97d112fa05cb | |
parent | c5254755c0154dcc7bb1191a84e6e7cf0106343b (diff) | |
download | ffmpeg-2c577155a7e6a5c63279a165d2dd67af4a10e346.tar.gz |
libspeexenc: use AVSampleFormat instead of deprecated/removed SampleFormat
Fixes build with --enable-libspeex
-rw-r--r-- | libavcodec/libspeexenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libspeexenc.c b/libavcodec/libspeexenc.c index 290718c5f1..bccf9c810d 100644 --- a/libavcodec/libspeexenc.c +++ b/libavcodec/libspeexenc.c @@ -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, |