1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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.
This commit is contained in:
Justin Ruggles 2011-11-08 17:47:09 -05:00
parent 818a3bdedf
commit fed5ca255f

View File

@ -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"),
};