projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818a3bd
)
ra144enc: add sample_fmts list to ff_ra_144_encoder
author
Justin Ruggles
<justin.ruggles@gmail.com>
Tue, 8 Nov 2011 22:47:09 +0000
(17:47 -0500)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 9 Nov 2011 21:53:23 +0000
(16:53 -0500)
This enables the user (i.e. avconv) to automatically convert to the supported
sample format if needed.
libavcodec/ra144enc.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/ra144enc.c
b/libavcodec/ra144enc.c
index
c475cbc
..
1d260b7
100644
(file)
--- 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"),
};