OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
986d2f6
)
lavfi/aevalsrc: correct the supported sample format
author
Stefano Sabatini
<stefasab@gmail.com>
Wed, 16 May 2012 14:17:41 +0000
(16:17 +0200)
committer
Stefano Sabatini
<stefasab@gmail.com>
Wed, 16 May 2012 14:17:41 +0000
(16:17 +0200)
The source supports *planar* double, fix regression introduced by me in
4d4098da
.
libavfilter/asrc_aevalsrc.c
patch
|
blob
|
history
diff --git
a/libavfilter/asrc_aevalsrc.c
b/libavfilter/asrc_aevalsrc.c
index
db6c205
..
6c9022b
100644
(file)
--- a/
libavfilter/asrc_aevalsrc.c
+++ b/
libavfilter/asrc_aevalsrc.c
@@
-185,7
+185,7
@@
static int config_props(AVFilterLink *outlink)
static int query_formats(AVFilterContext *ctx)
{
EvalContext *eval = ctx->priv;
- enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_NONE };
+ enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_DBL
P
, AV_SAMPLE_FMT_NONE };
int64_t chlayouts[] = { eval->chlayout, -1 };
int sample_rates[] = { eval->sample_rate, -1 };