projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c525475
)
libspeexenc: use AVSampleFormat instead of deprecated/removed SampleFormat
author
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 27 Jan 2012 16:28:21 +0000
(11:28 -0500)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 27 Jan 2012 16:28:21 +0000
(11:28 -0500)
Fixes build with --enable-libspeex
libavcodec/libspeexenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/libspeexenc.c
b/libavcodec/libspeexenc.c
index
290718c
..
bccf9c8
100644
(file)
--- 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
AV
SampleFormat[]){ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE },
.long_name = NULL_IF_CONFIG_SMALL("libspeex Speex"),
.priv_class = &class,
.defaults = defaults,