projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
928672f
)
ra144enc: remove unneeded sample_fmt check
author
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 22 Feb 2012 18:10:38 +0000
(13:10 -0500)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 25 Feb 2012 16:49:42 +0000
(11:49 -0500)
libavcodec/ra144enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/ra144enc.c
b/libavcodec/ra144enc.c
index
c8a09a2
..
302f66b
100644
(file)
--- a/
libavcodec/ra144enc.c
+++ b/
libavcodec/ra144enc.c
@@
-38,10
+38,6
@@
static av_cold int ra144_encode_init(AVCodecContext * avctx)
RA144Context *ractx;
int ret;
- if (avctx->sample_fmt != AV_SAMPLE_FMT_S16) {
- av_log(avctx, AV_LOG_ERROR, "invalid sample format\n");
- return -1;
- }
if (avctx->channels != 1) {
av_log(avctx, AV_LOG_ERROR, "invalid number of channels: %d\n",
avctx->channels);