summaryrefslogtreecommitdiff
path: root/libavcodec/libspeexenc.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-01-27 11:28:21 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-01-27 11:28:21 -0500
commit2c577155a7e6a5c63279a165d2dd67af4a10e346 (patch)
tree49c61efb5530bdb28db56caab9bc97d112fa05cb /libavcodec/libspeexenc.c
parentc5254755c0154dcc7bb1191a84e6e7cf0106343b (diff)
downloadffmpeg-2c577155a7e6a5c63279a165d2dd67af4a10e346.tar.gz
libspeexenc: use AVSampleFormat instead of deprecated/removed SampleFormat
Fixes build with --enable-libspeex
Diffstat (limited to 'libavcodec/libspeexenc.c')
-rw-r--r--libavcodec/libspeexenc.c2
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,