aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libmp3lame.c
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2008-07-31 10:47:31 +0000
committerPeter Ross <pross@xvid.org>2008-07-31 10:47:31 +0000
commitfd76c37fd9f564b4e979fbe20ecfcfad13f8b4f4 (patch)
treee391aec76fcfa666a50c7ccce172ff7a8d140da9 /libavcodec/libmp3lame.c
parentc8fd5da42fffc92268a0e23335af36580f2a2a4b (diff)
downloadffmpeg-fd76c37fd9f564b4e979fbe20ecfcfad13f8b4f4.tar.gz
Modify all codecs to report their supported input and output sample format(s).
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libmp3lame.c')
-rw-r--r--libavcodec/libmp3lame.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c
index 13a658a1f1..ab22038276 100644
--- a/libavcodec/libmp3lame.c
+++ b/libavcodec/libmp3lame.c
@@ -218,5 +218,6 @@ AVCodec libmp3lame_encoder = {
MP3lame_encode_frame,
MP3lame_encode_close,
.capabilities= CODEC_CAP_DELAY,
+ .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
.long_name= NULL_IF_CONFIG_SMALL("libmp3lame MP3 (MPEG audio layer 3)"),
};