libspeexenc: use AVSampleFormat instead of deprecated/removed SampleFormat
authorJustin Ruggles <justin.ruggles@gmail.com>
Fri, 27 Jan 2012 16:28:21 +0000 (11:28 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Fri, 27 Jan 2012 16:28:21 +0000 (11:28 -0500)
Fixes build with --enable-libspeex

libavcodec/libspeexenc.c

index 290718c..bccf9c8 100644 (file)
@@ -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,