avfilter/avfiltergraph: fix check using the wrong variables

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/37/head
Michael Niedermayer 12 years ago
parent 0815b23062
commit 6bde1e9d14
  1. 2
      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);

Loading…
Cancel
Save