avconv: use the correct variable in comparison