avconv: Avoid theoretical NULL dereferences