diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-11-08 17:47:09 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-11-09 16:53:23 -0500 |
commit | fed5ca255feacb03500a22f3fcd920cc98e9dcee (patch) | |
tree | 7b22e44dad1269442a33d5827313f2d07c80d7e8 /libavcodec | |
parent | 818a3bdedffedcc131a00f57d12597e5b7e054e6 (diff) | |
download | ffmpeg-fed5ca255feacb03500a22f3fcd920cc98e9dcee.tar.gz |
ra144enc: add sample_fmts list to ff_ra_144_encoder
This enables the user (i.e. avconv) to automatically convert to the supported
sample format if needed.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ra144enc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ra144enc.c b/libavcodec/ra144enc.c index c475cbc933..1d260b7a22 100644 --- a/libavcodec/ra144enc.c +++ b/libavcodec/ra144enc.c @@ -516,5 +516,7 @@ AVCodec ff_ra_144_encoder = { .init = ra144_encode_init, .encode = ra144_encode_frame, .close = ra144_encode_close, + .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, + AV_SAMPLE_FMT_NONE }, .long_name = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K) encoder"), }; |