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:
ac87c27
)
af_aresample: fix typo in query formats
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 17 May 2012 11:09:39 +0000
(13:09 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 17 May 2012 11:09:39 +0000
(13:09 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/af_aresample.c
patch
|
blob
|
history
diff --git
a/libavfilter/af_aresample.c
b/libavfilter/af_aresample.c
index
a5ab38e
..
b9af42e
100644
(file)
--- a/
libavfilter/af_aresample.c
+++ b/
libavfilter/af_aresample.c
@@
-82,7
+82,7
@@
static int query_formats(AVFilterContext *ctx)
if(aresample->out_rate > 0) {
int sample_rates[] = { aresample->out_rate, -1 };
-
ff_set_common_samplerates(ctx, avfilter_make_format_list(sample_rates)
);
+
avfilter_formats_ref(avfilter_make_format_list(sample_rates), &outlink->in_samplerates
);
} else {
out_samplerates = ff_all_samplerates();
avfilter_formats_ref(out_samplerates, &outlink->in_samplerates);