Skip to content
Snippets Groups Projects
Commit fed5ca25 authored by Justin Ruggles's avatar Justin Ruggles
Browse files

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.
parent 818a3bde
No related branches found
No related tags found
No related merge requests found
...@@ -516,5 +516,7 @@ AVCodec ff_ra_144_encoder = { ...@@ -516,5 +516,7 @@ AVCodec ff_ra_144_encoder = {
.init = ra144_encode_init, .init = ra144_encode_init,
.encode = ra144_encode_frame, .encode = ra144_encode_frame,
.close = ra144_encode_close, .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"), .long_name = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K) encoder"),
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment