lavc/qdm2: increase code clarity