From 6bde1e9d14ff1e0ecff74b8ff59607f545c6f2ec Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 25 Jul 2013 16:53:39 +0200 Subject: avfilter/avfiltergraph: fix check using the wrong variables Signed-off-by: Michael Niedermayer --- libavfilter/avfiltergraph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/avfiltergraph.c') diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 9af0e90105..2f6f2fd9be 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -379,7 +379,7 @@ static int can_merge_formats(AVFilterFormats *a_arg, int is_sample_rate) { AVFilterFormats *a, *b, *ret; - if (a == b) + if (a_arg == b_arg) return 1; a = clone_filter_formats(a_arg); b = clone_filter_formats(b_arg); -- cgit v1.2.3