git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
52fd16a
)
sndio bug fix
author
Brad
<brad@comstyle.com>
Tue, 29 Mar 2011 23:37:57 +0000
(19:37 -0400)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Wed, 30 Mar 2011 04:19:39 +0000
(21:19 -0700)
Since the code already supports both little- and big-endian
audio for recording, do not fail just because the endianness is not
what we expect.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavdevice/sndio_common.c
patch
|
blob
|
history
diff --git
a/libavdevice/sndio_common.c
b/libavdevice/sndio_common.c
index
60b7970
..
56c37c7
100644
(file)
--- a/
libavdevice/sndio_common.c
+++ b/
libavdevice/sndio_common.c
@@
-64,7
+64,7
@@
av_cold int ff_sndio_open(AVFormatContext *s1, int is_output,
goto fail;
}
- if (par.bits != 16 || par.sig != 1 ||
par.le != SIO_LE_NATIVE ||
+ if (par.bits != 16 || par.sig != 1 ||
(is_output && (par.pchan != s->channels)) ||
(!is_output && (par.rchan != s->channels)) ||
(par.rate != s->sample_rate)) {