[FFmpeg-cvslog] ra144enc: add sample_fmts list to ff_ra_144_encoder
Justin Ruggles
git at videolan.org
Thu Nov 10 03:59:01 CET 2011
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Tue Nov 8 17:47:09 2011 -0500| [fed5ca255feacb03500a22f3fcd920cc98e9dcee] | committer: Justin Ruggles
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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fed5ca255feacb03500a22f3fcd920cc98e9dcee
---
libavcodec/ra144enc.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavcodec/ra144enc.c b/libavcodec/ra144enc.c
index c475cbc..1d260b7 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"),
};
More information about the ffmpeg-cvslog
mailing list